tjc Posted December 12, 2005 Posted December 12, 2005 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")
seandisanti Posted December 12, 2005 Posted December 12, 2005 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?Examplecd C:\Program Files\programrun ("program.exe")working directory is an optional parameter for the Run() and RunWait() commands. It should accomplish your goal. details are in the helpfile
tjc Posted December 12, 2005 Author Posted December 12, 2005 working directory is an optional parameter for the Run() and RunWait() commands. It should accomplish your goal. details are in the helpfileThanks that worked....
seandisanti Posted December 12, 2005 Posted December 12, 2005 Thanks that worked....glad i could help
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now