help.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
PAUSE--Notes
Example  Syntax
────────────────────────────────────────────────────────────────────────────
 
                                PAUSE──Notes
 
Prompting the user to continue the program
 
MS-DOS displays the following message in response to the PAUSE command:
 
    Press any key to continue . . .
 
Dividing a batch file into sections
 
If you press CTRL+C to stop a batch program, MS-DOS displays the following
message:
 
    Terminate batch job (Y/N)?
 
If you press Y (for yes) in response to this message, the batch program ends
and control returns to the operating system. Therefore, you can insert the
PAUSE command before a section of the batch file you may not want to
process. While PAUSE suspends processing of the batch program, you can press
CTRL+C and then Y to stop the batch program.
 
                                      ♦