Left and Right Path

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
eil
Posts: 1923
Joined: 13 Jan 2011 19:44

Re: Left and Right Path

Post by eil »

first check: C:\Program Files\WinRAR\ = G:\myrogs\N\
second: G:\ = G:\myrogs\N\
third: C:\Program Files\WinRAR\ = C:\
all three times tried ::run "c:\Progs\Beyond Compare 3\BCompare.exe" "<get path 1>\" "<get path 2>\";
with 1st panel in focus and then 2nd(all in all 6 checks).
Win 7 SP1 x64 100% 1366x768|1900x1080

Zodler
Posts: 55
Joined: 13 Jun 2011 02:54

Re: Left and Right Path

Post by Zodler »

That's strange. in this case
third: C:\Program Files\WinRAR\ = C:\
left panel selected, should give you incorrect result. That's what happens to me.

I have Windows 7 x64. Do you have Windows x64?

eil
Posts: 1923
Joined: 13 Jan 2011 19:44

Re: Left and Right Path

Post by eil »

have no incorrect results whether is left or right panel is in focus.
no, i'm using XP x86. did you correctly stated the path to BCompare?(32 or 64-bit)
Win 7 SP1 x64 100% 1366x768|1900x1080

Zodler
Posts: 55
Joined: 13 Jun 2011 02:54

Re: Left and Right Path

Post by Zodler »

of course. BC starts. It's just the right path that is incorrect. I guess it's related to windows x64 maybe, since stefan and admin both also detected the problem.

eil
Posts: 1923
Joined: 13 Jan 2011 19:44

Re: Left and Right Path

Post by eil »

well, maybe so.
but didn't Don(admin) added:
admin wrote:EDIT: OK, I might have got it. Both paths must be slashed:

Code: Select all

run "C:\Programme\WinMerge\WinMergeU.exe" "<get path 1>\" "<get path 2>\";
as a solution?
Win 7 SP1 x64 100% 1366x768|1900x1080

Zodler
Posts: 55
Joined: 13 Jun 2011 02:54

Re: Left and Right Path

Post by Zodler »

oh that was a solution? I will try it as soon as i can!

Zodler
Posts: 55
Joined: 13 Jun 2011 02:54

Re: Left and Right Path

Post by Zodler »

yup, now it works. You have to add a \
Thank you guys.

Please correct the program so this will not be needed in the future. It's simpler for the user. I have both Total Commander and Directory Opus and they don't need any \ for this to work.

admin
Site Admin
Posts: 67270
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Left and Right Path

Post by admin »

Zodler wrote:yup, now it works. You have to add a \
Thank you guys.

Please correct the program so this will not be needed in the future. It's simpler for the user. I have both Total Commander and Directory Opus and they don't need any \ for this to work.
There is a reason for XY not to add slashes, and it is documented in the Help that paths are returned unslashed by this variable.

BTW, if at all then this is a bug in the called app. The slash does not add any information. The called app should be able to handle unslashed paths IMO.

Zodler
Posts: 55
Joined: 13 Jun 2011 02:54

Re: Left and Right Path

Post by Zodler »

ah ok but this happens only in certain cases and depends on if the left or right pane is activated. This bug happens both for Beyond Compare and WinMerge.

There is clearly something going wrong somewhere in XYplorer. It might not be about \ because as I said, it's only in certain cases. Aren't you going to research it and try to improve your software?

admin
Site Admin
Posts: 67270
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Left and Right Path

Post by admin »

Zodler wrote:ah ok but this happens only in certain cases and depends on if the left or right pane is activated. This bug happens both for Beyond Compare and WinMerge.

There is clearly something going wrong somewhere in XYplorer. It might not be about \ because as I said, it's only in certain cases. Aren't you going to research it and try to improve your software?
I'm trying to improve my software all the time. :) But this case has nothing to do with it. You can easily see this by running the resolved command directly through the Windows run box:

bad: "C:\Programme\WinMerge\WinMergeU.exe" "C:" "C:\Programme"
good: "C:\Programme\WinMerge\WinMergeU.exe" "C:\" "C:\Programme\"

CodeLobster

Re: Left and Right Path

Post by CodeLobster »

Zodler wrote:Aren't you going to research it and try to improve your software?
http://www.xyplorer.com/xyfc/viewtopic. ... =4&start=0

+2000 posts since 2004

day in day out new beta releases some with astonishing features

open to user suggestions, bug reports

id bet they do some research and thus perhaps trying to improve their soft ;)

Zodler
Posts: 55
Joined: 13 Jun 2011 02:54

Re: Left and Right Path

Post by Zodler »

Hey thank you for all the info. Learned a lot. You are right. I just tried and typed that in a command prompt and the same problem happens.

That's it for me. Consider me one of your new clients. I will buy XYplorer. I have seen enough. I'm a Dopus owner and their software is very clean but I am extremely unhappy with their portability policy. You can not export to a Truecrypt volume on a USB for example. It's basically like an OS installation and you can't take it with you that easily.

One of the main reasons I choose your software is the portability and the way you respect fair use. I was considering between XYplorer and TC but TC is real ugly. Not just the interface, the way it works. There is only one major thing that remains with your software that I think is lacking. hopefully you will add it sometime later. Here it is:

It seems that XYplorer was designed around heavily using the tree and there are some people who don't like trees and use just the 2 panes. One thing that I feel XYplorer is missing is this:
http://imageshack.us/photo/my-images/197/navqv.jpg/

One line for each pane that shows the complete path. when you click on a folder on that line, it goes to that folder. This is essential for ease of use when you don't want to use the tree.

All in all great job.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Left and Right Path

Post by j_c_hallgren »

Zodler wrote:That's it for me. Consider me one of your new clients. I will buy XYplorer. I have seen enough. I'm a Dopus owner and their software is very clean but I am extremely unhappy with their portability policy. You can not export to a Truecrypt volume on a USB for example. It's basically like an OS installation and you can't take it with you that easily.
Glad to hear that you like it!
There is only one major thing that remains with your software that I think is lacking. hopefully you will add it sometime later. Here it is:

It seems that XYplorer was designed around heavily using the tree and there are some people who don't like trees and use just the 2 panes. One thing that I feel XYplorer is missing is this:
http://imageshack.us/photo/my-images/197/navqv.jpg/

One line for each pane that shows the complete path. when you click on a folder on that line, it goes to that folder. This is essential for ease of use when you don't want to use the tree.
See my reply in http://www.xyplorer.com/xyfc/viewtopic. ... 586#p60586
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Left and Right Path

Post by Stefan »

admin wrote:
bad: "C:\Programme\WinMerge\WinMergeU.exe" "C:" "C:\Programme"
good: "C:\Programme\WinMerge\WinMergeU.exe" "C:\" "C:\Programme\"
It's not the missing backslash i think.

Please note we had tried for example this with one back slash:
"C:\Programme\WinMerge\WinMergeU.exe" "C:\" "C:\Programme"

and not without any trailing back slashes as with your example
"C:\Programme\WinMerge\WinMergeU.exe" "C:" "C:\Programme"


So i have no problem using this as dos command line:
C:\>"e:\Beyond Compare 3\BCompare.exe" C:\ C:\programme
C:\>"e:\Beyond Compare 3\BCompare.exe" C:\programme C:\




But for XYplorer we get this:

This works OK (bold is active)
C:\Programme --- C:\


Don't works (bold is active), opens the pane with the subfolder two times:
C:\Programme --- C:\


This works both (bold is active) (because different partitions C + E)
C:\Programme --- E:\
C:\Programme --- E:\


It is also no matter if i exchange <get path 1> with <get path 2>
It also works if i call the application and write the path by hand.
It doesn't works if i use commands get("path" or <get path and the "wrong" pane is active.

Tested with 9.80.1012 on XP SP3, BCompare.exe and WinMergeU.exe
Last edited by Stefan on 18 Jun 2011 19:58, edited 1 time in total.

eil
Posts: 1923
Joined: 13 Jan 2011 19:44

Re: Left and Right Path

Post by eil »

Zodler, well me, personally, use 2 panels very seldom but more of a tree(mini)+panel. i know there are users who don't like tree, but XY seem to provide quite a good choice in how to work with it comfortable(with breadcrumbs for example).
about that lack you mentioned: it seems you're describing Vista/7 Address Bar behaviour - if i'm not mistaken such feature is planned.

Stefan, can't confirm. just tried

Code: Select all

::run "c:\Progs\Beyond Compare 3\BCompare.exe" "<get path 1>\" "<get path 2>\";
with
C:\Program Files\ - C:\
C:\Program Files\ - C:\
C:\ - C:\Program Files\
C:\ - C:\Program Files\
(bold is active) = no problems with all cases.
XY 9.90.1018 on XP SP3, BCompare.exe
Win 7 SP1 x64 100% 1366x768|1900x1080

Post Reply