home *** CD-ROM | disk | FTP | other *** search
- PAUSE
-
- The format of the PAUSE internal command is:
-
- PAUSE [remark]
-
- <remark> is optional, but cannot be over 121 characters long.
-
- Processing will be suspended until some key on the keyboard is pressed.
- The PAUSE command will display the message
-
- Strike a key when ready...
-
- Pressing the Enter, Return, or <──┘ key will resume processing. If ECHO is ON,
- PAUSE also displays <remark> on the screen. Using redirection, you can display
- your own remark instead, with
-
- ECHO OFF
- ECHO your own language (perhaps Spanish or French?)
- PAUSE > NUL
-
- If you press Ctrl-Break while the batch file is suspended, the message:
-
- Terminate batch job (Y/N)?
-
- will appear. This gives you the opportunity to either terminate the BATCH
- file without executing the commands after the PAUSE by entering Y or resume
- normal execution by entering N. If you press any key other than Y, N, or
- Ctrl-Break, the question will be repeated.