prince albert Posted December 26, 2003 Posted December 26, 2003 (edited) FileInstall("C:\documents and settings\administrator\desktop\123.exe", "C:\321.exe") this installs the file i want just fine.. then it dont run, when this code is read Run("C:\321.exe") this way, i get no error, but nothing runs whats the proper syntax for run, or whatever lol i try with out the dir, and i get error that it cant find .exe i try with dir after the file, and same thing..... im reading the help file, but yah.. i cant understand what im doing wrong.. Edited December 26, 2003 by prince albert
kami Posted December 27, 2003 Posted December 27, 2003 Run("C:\321.exe")this way, i get no error, but nothing runsTry Run("C:\321.exe", "C:\", @SW_MAXIMIZE).I had the same problem.It seems that you have to use Run/RunWait command with all parameters.kami
PerryRaptor Posted December 27, 2003 Posted December 27, 2003 This should do it...The second parameter is the working directory and the AutoIT3 engine pastes it infront of the first parameter. Run("321.exe", "C:\", @SW_MAXIMIZE)
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