ripley_jack Posted January 20, 2006 Share Posted January 20, 2006 How to make a pause between two commands ?1 second for examplebecause the the first install take more time, and the second command will run before the first is not really ended.Tnx for helpJack Link to comment Share on other sites More sharing options...
prathapml Posted January 20, 2006 Share Posted January 20, 2006 Use sleep.exe from the unattended guide site.Or an alternate solution (a bit more lengthy), then I'll post the ping method if you want. Link to comment Share on other sites More sharing options...
ripley_jack Posted January 26, 2006 Author Share Posted January 26, 2006 Tnx for your help,I am interrested by the second solution tooJack Link to comment Share on other sites More sharing options...
prathapml Posted January 27, 2006 Share Posted January 27, 2006 Example:start /wait setup1.exeping -n 11 127.0.0.1>nul | Echo sleeping 10 secondsstart /wait setup2.exeThat will pause for 10 seconds (the number 11 is because it has to be one unit more than the number of seconds to pause). 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