How do I pause a command line script?

How do I pause a command line script?
Answer
Execution of a batch script can also be paused by
pressing CTRL-S (or the Pause|Break key) on the keyboard, this also works for pausing a single command such as a long DIR /s listing. Pressing any key will resume the operation. Pause is often used at the end of a script to give the user time to read some output text.
 

Tìm kiếm

Back
Top