Page 1 of 1

punctuation of command line switch

Posted: 10 Apr 2010 23:14
by Joso
OK - I give up - I think I've tried every possible permutation of ' and " - but obviously, I can't spell

I'm trying to run the following command (which works from run cmd):
M:\xy\tools\NoteTab\Notepro.exe /usb M:\xy\tools\NoteTab\Readme.txt

This works from UDC:
Run """<xypath>\Tools\NoteTab\Notepro.exe"" ""<curitem>"""

but when I try to insert the /usb switch, the program can't find the file.

Please someone tell me how to punctuate the command properly. Thanks.

Re: punctuation of command line switch

Posted: 11 Apr 2010 00:06
by TheQwerty
In all your attempts did you try?

Code: Select all

Run """<xypath>\Tools\NoteTab\Notepro.exe"" /usb ""<curitem>""";

Re: punctuation of command line switch

Posted: 11 Apr 2010 00:45
by Joso
Apparently not - I saw the command resolved to all sorts of things with all sorts of " and 's but never

"M:\XY\Tools\NoteTab\Notepro.exe" /usb "C:\XYplorer.ini"

When I punctuated it to include the switch in the file name part it choked and when I punctuated it to a separate "/usb", the program thought it was another file.

Thanks for the help.