Ok, first of all, I didn't know there was a
Sleep command...(Just went to search it)
However, what I use last time was
Timeout as it count down in Seconds instead of minutes, so you might give it a try!
Here is the syntax:
Timeout /t 1200
- The number
1200 is the time in seconds (60*20=1200)
/t is necessary
- After the whole line
Timeout /t 1200, you can add a optional
/nobreak so that it will strictly wait till 1200 seconds before proceeding and will not be affected by key presses in the CMD window.
- And finally, after the whole line( With or without
/nobreak, the timer will start counting down in your Batch window, you can choose not to let it appear and let it count in background by adding
That's about it, so try