I have a question about the DOS launch command. I already read this topic: Using the DOS "Start" command with parameters passed to the running program Using the "start" command with parameters passed to the running program
but my question is a little different.
I have this problem: I need to pass the paths that need to be pointed.
For example, if the path does not have quotes, this works fine:
start "" app.exe -option c: \ myapp \ myfile.txt
but if the path has double quotes, it does not work.
I have this line in my BATCH file:
start "" myapp.exe -option% mypath%
and when% mypath% contains double quotes (paths that have spaces or other characters in the names), the start command returns very strange results.
Thanks Sandro
source share