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.
Written by James Long
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Batch
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#