SLEEP.exe – Windows CMD Command

Delay execution for a few seconds/minutes (for use within a batch file.)

Pause for 10 seconds before running the next command in a batch file:


A delay can also be produced by the PING command with a loopback address (, in tests this consumes less processor time than Sleep.exe or Timeout.exe:

e.g. for a delay of 30 seconds:
PING -n 31>nul

See Clay Calvert’s newsgroup posting for a full explanation of this technique.

You may also like...

1 Response

  1. frolep rotrem says:

    Very good written information. It will be valuable to anybody who utilizes it, including yours truly :). Keep up the good work – for sure i will check out more posts.

Leave a Reply

Your email address will not be published. Required fields are marked *