Wingens Posted June 18, 2009 Share Posted June 18, 2009 Hi, does anyone know how to make your script run in Windows 7, i know that windows 7 is only a Release Candidate but i am allready using it because it is faster then Vista on my computer. But for some reason only a part of my script is working, it will make the Drivemapadd but it wil not run the program from it... can anyone tell me what is wrong with my code. thx.V0.9.1.au3 Link to comment Share on other sites More sharing options...
Zedna Posted June 18, 2009 Share Posted June 18, 2009 Try FileExists() before Run() Also check @error after Runr() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Wingens Posted June 23, 2009 Author Share Posted June 23, 2009 oke fileexist i understand, but how can i check for errors? Link to comment Share on other sites More sharing options...
Zedna Posted June 23, 2009 Share Posted June 23, 2009 (edited) oke fileexist i understand, but how can i check for errors? Run("Z:\FPS\Call of Duty 2\setup.exe") If @error Then MsgBox(0,'Run() - Error code', @error) Edited June 23, 2009 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
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