ZebrasInBlankets Posted March 6, 2005 Posted March 6, 2005 I am using the "Run" to execute a BAT. The BAT file takes a few seconds to kick in for what it is doing. It run's the bat, but it seems to close before it actually does anything. If I double click the BAT it works fine. $file = "run.bat" Run($file) Any suggestions on how to slow down the Run or an alternate method would be greatly appreciated.
Developers Jos Posted March 6, 2005 Developers Posted March 6, 2005 (edited) nope doesnt work <{POST_SNAPBACK}>Try:Run(@comspec & " /k run.bat") this will keep the command window open.Run(@comspec & " /c run.bat") this will close the command window when batch file is done. Edited March 6, 2005 by JdeB 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.
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