I picked up a thread a few months ago about using a "Runner" EXE file to check for updates, and a "Main" EXE file which is the main application. I finally decided to implement this approach with the EXEs local to the users' machines. We have a feature in the app which allows me to close the app on all machines, but as we add more users, this is becoming disruptive.
I have everything worked out now the runner works fine, except that I am having some syntax trouble calling up MAIN.EXE.
If I hard code everything like:
Run /N C:\Program Files\MyApp\MAIN.EXE
Quit **THis closes the Runner App
This code works great, but I do not like the idea of hard-coding the EXE.
If I try to make the EXE Path/filename a variable like:
mainprog='C:\Program Files\MyApp\MAIN.EXE'
Run /N MainProg
Quit **THis closes the Runner App
The thing crashes when it trys to run the variable. Any way to use a variable with RUN???
Thanks,
Regan
I have everything worked out now the runner works fine, except that I am having some syntax trouble calling up MAIN.EXE.
If I hard code everything like:
Run /N C:\Program Files\MyApp\MAIN.EXE
Quit **THis closes the Runner App
This code works great, but I do not like the idea of hard-coding the EXE.
If I try to make the EXE Path/filename a variable like:
mainprog='C:\Program Files\MyApp\MAIN.EXE'
Run /N MainProg
Quit **THis closes the Runner App
The thing crashes when it trys to run the variable. Any way to use a variable with RUN???
Thanks,
Regan