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.
|