Pause command

Updated: 11/12/2023 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.