Page 1 of 1

Problems with command line and quoted || parameters

Posted: 12 Mar 2021 19:40
by Horst
I start XY with command line parameters
filepath1||filepath2
If one of this pathes are containing spaces they are quoted by the invoking program.
All is fine when XY is already running at this time,
the files are selected in the dual panes of XY.
When XY is not running and makes a fresh start-up its not correctly parsing the same parameters
and doesn't go into that 2 dirs or only on one side.
So I guess the parameter parsing is different when done from the already running XY
compared to the fresh start-up code.

Re: Problems with command line and quoted || parameters

Posted: 12 Mar 2021 19:43
by jupe
You need to quote the whole command, not individually, e.g

Xyplorer.exe "c:\path||d:\otherpath"

Re: Problems with command line and quoted || parameters

Posted: 12 Mar 2021 20:02
by Horst
jupe wrote: 12 Mar 2021 19:43 You need to quote the whole command, not individually, e.g

Xyplorer.exe "c:\path||d:\otherpath"
I'll try but I have the invoking program not fully under control.
Some time I get in YX such a screen
Screenshot - 12.03.2021 , 19_56_49.png
After pressing F7 its corrected
Screenshot - 12.03.2021 , 19_57_28.png
But this may be a timing problem as it doesn't always occur