Sign in to follow this  
Followers 0
tjc

Running a program

4 posts in this topic

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")

Share this post


Link to post
Share on other sites



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

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

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....

Share this post


Link to post
Share on other sites

Thanks that worked....

glad i could help

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0