home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / batch / pause.hlp < prev    next >
Encoding:
Text File  |  1989-01-01  |  1.0 KB  |  30 lines

  1.                             PAUSE
  2.  
  3. The format of the PAUSE internal command is:
  4.  
  5.     PAUSE [remark]
  6.  
  7. <remark> is optional, but cannot be over 121 characters long. 
  8.  
  9. Processing will be suspended until some key on the keyboard is pressed. 
  10. The PAUSE command will display the message
  11.  
  12.     Strike a key when ready...
  13.  
  14. Pressing the Enter, Return, or <──┘ key will resume processing. If ECHO is ON,
  15. PAUSE also displays <remark> on the screen. Using redirection, you can display 
  16. your own remark instead, with
  17.  
  18.     ECHO OFF
  19.     ECHO your own language (perhaps Spanish or French?)
  20.     PAUSE > NUL
  21.  
  22. If you press Ctrl-Break while the batch file is suspended, the message:
  23.  
  24.     Terminate batch job (Y/N)?
  25.  
  26. will appear.  This gives you the opportunity to either terminate the BATCH
  27. file without executing the commands after the PAUSE by entering Y or resume
  28. normal execution by entering N. If you press any key other than Y, N, or 
  29. Ctrl-Break, the question will be repeated.
  30.