Skip to main content

Posts

Showing posts from November, 2010

Windows Sleep command

I have a really long bat file where I need to introduce delay between subsequent commands. But there is no sleep command in DOS. There is an workaround for this, we can use ping command to emulate sleep. Usage ping 1.1.1.1 -n 1 -w 10000 switch -n specifies number of echo request to be sent. switch -w specifies number of milliseconds to wait for each reply.