Home XP Commands
XP Syntax

PAUSE

Pause the execution of a batch file

Syntax
      PAUSE

displays the message "Press any key to continue . . ."

To suppress the message use PAUSE >nul


"Advertising may be described as the science of arresting the human intelligence long enough to get money from it." - Stephen Leacock

Related commands

TIMEOUT - Delay that allows the user to press a key and continue immediately.

Equivalent Linux BASH commands:

read -p "press any key to continue"
sleep
- Delay for a specified time



Back to the Top

Simon Sheppard
SS64.com