Last Updated: February 25, 2016
· mauricetheferre

Sleep in a Windows batch script

There is no Windows command to sleep X seconds between commands, try pinging:

ping -n 5 > nul

Ping waits a second between consecutive attempts, and you don't have to deal with stdout clutter by sending it to nul.