Problems with command line and quoted || parameters

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Horst
Posts: 1401
Joined: 24 Jan 2021 12:27
Location: Germany

Problems with command line and quoted || parameters

Post 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.
Windows 11 Home, Version 25H2 (OS Build 26200.9278)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1423b (x64), Everything Toolbar 3.2, Listary Pro 7.0.0.9 beta

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Problems with command line and quoted || parameters

Post by jupe »

You need to quote the whole command, not individually, e.g

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

Horst
Posts: 1401
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Problems with command line and quoted || parameters

Post 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
To see the attached files, you need to log into the forum.
Windows 11 Home, Version 25H2 (OS Build 26200.9278)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1423b (x64), Everything Toolbar 3.2, Listary Pro 7.0.0.9 beta

Post Reply