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: 20
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: 912
Date:
Permalink   
 

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

 



__________________


Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Hello you can add .bat file in cameyo you need to convert .bat to exe first.
When Package .bat to exe must select Temp folder or Appdata folder for working directory.
i have tested and i am using on some package create by cameyo.

__________________
RemonGzil
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