Microsoft DOS pause command

Quick links

About pause
Availability
Syntax
Examples

About pause

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

Availability

The pause command is an internal command that is available in the below Microsoft operating systems.

All Versions of MS-DOS
Windows 95
Windows 98
Windows ME
Windows NT
Windows 2000
Windows XP
Windows Vista
Windows 7

Syntax

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

PAUSE

Examples

pause

When in a batch file stop the file until you press any key to continue.

Additional information

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