Jump to content

Recommended Posts

Posted

I want to create a script that will run a program the problem is when I try to start it the program looks for some dll files in the programs folder. Is there a way I can issue a cd command to move to another folder to start this program?

Example

cd C:\Program Files\program

run ("program.exe")

Posted

I want to create a script that will run a program the problem is when I try to start it the program looks for some dll files in the programs folder. Is there a way I can issue a cd command to move to another folder to start this program?

Example

cd C:\Program Files\program

run ("program.exe")

working directory is an optional parameter for the Run() and RunWait() commands. It should accomplish your goal. details are in the helpfile
Posted

working directory is an optional parameter for the Run() and RunWait() commands. It should accomplish your goal. details are in the helpfile

Thanks that worked....

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...