MS-DOS and Windows command line pause command

Updated: 05/21/2018 by Computer Hope
pause command

The pause command is used within a computer batch file. It allows the computer to pause the currently running batch file until the user presses any key.

Availability

Pause is an internal command that is available in the following Microsoft operating systems.

Pause syntax

Suspends processing of a batch program and displays the message:
Press any key to continue.

PAUSE

Pause examples

pause

When placed in a batch file, pause stops the file from running until you press a key to continue.

Additional information

  • See our pause definition for further information and related links on this term.