NT Syntax

TIMEOUT.exe (Resource Kit)

Add a variable delay to a batch file.

      TIMEOUT delay

   delay :Delay in seconds (between -1 and 100000) to wait before continuing. 
          The value -1 causes the computer to wait indefinitely for a keystroke 
          (like the PAUSE command)

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.
Timeout.exe seems to consume less processor time time than Sleep.exe

"It is awful work this love and prevents all a mans projects of good or glory" - Lord Byron

Related Commands:

PAUSE - Suspend processing of a batch file and display a message
SLEEP - Fixed delay
WAIT - Fixed delay

Equivalent Linux BASH commands:


Simon Sheppard