DOS command to wait or sleep
You’re working with batch files on Windows. How to wait or sleep for 2 seconds?
Well, I know of no direct command to do so, but this is certainly quite an elegant way to do it:
PING 127.0.0.1 -n 3 > NUL
If you wish for the batch process to wait longer, just replace the 3 with a bigger number.
Comments: