cfs53w
Last Updated: February 25, 2016
·
455
· mauricetheferre

Sleep in a Windows batch script

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

ping 127.0.0.1 -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.