How do I make a batch file wait / sleep for some seconds?
Problem
I use a batch file to start up a few of the programs I need running in the background. Up until now, I had used the pause command to execute it after some of the other start-ups finished. I would prefer to use the wait or sleep commands but they do not appear to be included in Windows 7. Anybody know how to put those commands back in, or a different method that achieves the same results?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How do I make a batch file wait / sleep for some seconds?
You can use the command: This utility accepts a timeout parameter to wait for the specified time period (in seconds) or until any key is pressed. It also accepts a parameter to ignore the key press. For example, to wait for 10 seconds: For more details:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix