Cameyo

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Getting Error 2 when trying to start an application with a batch file


Member

Status: Offline
Posts: 15
Date:
Getting Error 2 when trying to start an application with a batch file
Permalink   
 


Hi; here is the syntax for my batch file:

start "" "%~dp0KQ1 VGA Remake.exe" -exec "%Program Files%\AGD Interactive\King's Quest I\Kq1vga.exe"

The latter half I pulled from the shortcut that was created when I used the -createshortcuts parameter.

When I run the shortcut that was created, the application works fine. But when I try this batch file, the game folder gets installed in VOS, but then I get error 2

Bo8I7Ar.png

Any ideas?



__________________


Guru

Status: Offline
Posts: 875
Date:
Permalink   
 

For your batch file, try %%Program Files%% instead of %Program Files%.

 



__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard