jshao825
asked on
Batch file START command - application path with space
I am new to creating a batch file..
I want to use the START command to execute an application. Since the application path has space, the command failed. I tried putting double quote around the application path, but still doesn't work.
START /WAIT C:\Program Files\abc.exe
Can anyone help ?
I want to use the START command to execute an application. Since the application path has space, the command failed. I tried putting double quote around the application path, but still doesn't work.
START /WAIT C:\Program Files\abc.exe
Can anyone help ?
Try C:\Progra~1\abc.exe
ASKER
How about for C:\Progra~1\test folder\abc.exe
I tried C:\Progra~1\test~1\abc.exe but didn't work
I tried C:\Progra~1\test~1\abc.exe
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
start "c:\Program Files\abc.exe" /wait
Hope this helps!
:o)
Bartender_1