
run command doesn't resolve paths with " +" or "+ "
Forum rules
You might want to read this if you're looking for priority service
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%).
Use Your Profile Or Signature
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.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
sinilill
- Posts: 111
- Joined: 02 Dec 2013 18:37
run command doesn't resolve paths with " +" or "+ "
With the open command it's working!


-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: run command doesn't resolve paths with " +" or "+ "
The + is not the problem, it's the space in the name.
from the doc of run:
edit: also, you should have a space between run and it's parameters.
from the doc of run:
So try these:Quoting items with blanks slightly differs:Names with blanks must be quoted. Note that the quotes have to be wrapped in single-quotes because an argument's outer quotes are auto-stripped by XY's script parser!Code: Select all
run '"C:\With Blank.txt"';
Code: Select all
run '"D:\DOWNLOAD\TRANSPORT\hehee+ .JPG"' ; //single-quote wrapping
run '"D:\DOWNLOAD\TRANSPORT\hehee +.JPG"' ; //single-quote wrapping
run """D:\DOWNLOAD\TRANSPORT\hehee+ .JPG""" ; //double-quote wrapping
run """D:\DOWNLOAD\TRANSPORT\hehee +.JPG""" ; //double-quote wrapping
Code: Select all
the screenshot shows this: run"D:\DOWNLOAD\TRANSPORT\hehee +.JPG"
you should script as this: run "D:\DOWNLOAD\TRANSPORT\hehee +.JPG";Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
sinilill
- Posts: 111
- Joined: 02 Dec 2013 18:37
Re: run command doesn't resolve paths with " +" or "+ "
it's a Christmas miracle, thanks 
XYplorer Beta Club