TIMEOUT.exe – Windows CMD Command

Delay execution for a few seconds or minutes, for use within a batch file.

Timeout will pause command execution for a number of seconds, after which it continues without requiring a user keystroke. If the user does press a key at any point, execution will resume immediately.

A delay can also be produced by the PING command with a loopback address, there is a delay of 1 second between each consecutive ping.

In tests PING consumes less processor time than Sleep.exe or Timeout.exe, this allows other processes to run in the background. The PING command can only be interrupted with Ctrl-C. Source: Clay Calvert (usenet 2001.)

Examples

Set a delay for 40 seconds:
PING -n 41 127.0.0.1>nul
Echo Now we are ready

You may also like...

1 Response

  1. zortilonrel says:

    hello!,I like your writing very so much! share we keep up a correspondence extra approximately your post on AOL? I need an expert on this house to resolve my problem. Maybe that’s you! Having a look ahead to peer you.

Leave a Reply

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