FransRoyal Posted December 4, 2007 Share Posted December 4, 2007 This line of the code works: RunWait(@ComSpec & " /C %temp%\a.bat") I try to edit it in this way RunWait(@ComSpec & " /C %temp%\a.bat", @SW_HIDE) but doesn't work! What's wrong? Please use a simple english because i'm italian Link to comment Share on other sites More sharing options...
Developers Jos Posted December 4, 2007 Developers Share Posted December 4, 2007 (edited) you are missing the workdir parameter: RunWait(@ComSpec & " /C %temp%\a.bat","", @SW_HIDE) Ciao Edited December 4, 2007 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
FransRoyal Posted December 4, 2007 Author Share Posted December 4, 2007 >Thanks Grazie 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