dryper Posted January 15, 2007 Posted January 15, 2007 Hello i cant figure out how i can run a file that isint in the root folder.. ok heres my question The project is in a Directory called "Project X" i want the .au3 file to run a .exe file that is in Project X\data\test\ what do i need to write in the Run code?.. i write: Run (@WorkingDir , "filename.exe") <---- this have to be wrong.. what should i write to get it working?
FuryCell Posted January 15, 2007 Posted January 15, 2007 (edited) Hello i cant figure out how i can run a file that isint in the root folder.. ok heres my question The project is in a Directory called "Project X" i want the .au3 file to run a .exe file that is in Project X\data\test\ what do i need to write in the Run code?.. i write: Run (@WorkingDir , "filename.exe") <---- this have to be wrong.. what should i write to get it working? I noticed you put @WorkingDir first. The exe should go first: Run ( "filename" [, "workingdir" [, flag[, standard_i/o_flag]]] ) furthermore, If the script is the project x folder then do: Run(".\X\data\test\filename.exe",@WorkingDir ) Edited January 15, 2007 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
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