O
Ong
Recently I wrote a batch file to launch a program located in a folder
containing space character in its name. Neither of the following scripts I
used worked:
start "c:\Test 1\" abc.exe
start "c:\Test~1\" abc.exe
Using 'dir /x' on DOS prompt at C:\, the correct DOS path name shown for
'C:\Test 1' is 'C:\Test1~1'. I replaced the path name in my script with this
& the script worked accordingly.
containing space character in its name. Neither of the following scripts I
used worked:
start "c:\Test 1\" abc.exe
start "c:\Test~1\" abc.exe
Using 'dir /x' on DOS prompt at C:\, the correct DOS path name shown for
'C:\Test 1' is 'C:\Test1~1'. I replaced the path name in my script with this
& the script worked accordingly.