Link to home
Start Free TrialLog in
Avatar of jshao825
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 ?

Avatar of Bartender_1
Bartender_1
Flag of Canada image

try this:

start "c:\Program Files\abc.exe" /wait

Hope this helps!

:o)

Bartender_1
Try C:\Progra~1\abc.exe
Avatar of jshao825
jshao825

ASKER

How about for C:\Progra~1\test folder\abc.exe

I tried C:\Progra~1\test~1\abc.exe   but didn't work
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial