home *** CD-ROM | disk | FTP | other *** search
/ Frostbyte's 1980s DOS Shareware Collection / floppyshareware.zip / floppyshareware / USCX / DOSUT-17.ZIP / PAUSE2.DOC < prev    next >
Text File  |  1984-11-04  |  5KB  |  69 lines

  1. |_____________________________________________________________________________|
  2. |                                                                             |
  3. |                PAUSE2.COM                                    |
  4. |                                                                             |
  5. |        A subcommand (to be used in batch files,                      |
  6. |        especially when ECHO is off)                                  |
  7. |                                                                             |
  8. |                                                                             |
  9. |    This program is an improved version of DOS's PAUSE command. The       |
  10. |    problems with DOS's PAUSE command are that, when ECHO is off,         |
  11. |    it only displays one message ("Strike a key when ready . . ."),       |
  12. |    and it doesn't alert the user when it appears. This program allows    |
  13. |    users to display any message they want, which could include beeps.    |
  14. |                                                                             |
  15. |-----------------------------------------------------------------------------|
  16. |                                                                             |
  17. |                                                                             |
  18. |    Purpose:   Suspends system processing, displays a message, and        |
  19. |           waits for the user to press a character key.               |
  20. |                                                                             |
  21. |    Format:    PAUSE2 remark                                              |
  22. |                                                                             |
  23. |     Type:       Internal    External                                       |
  24. |                 ***                                          |
  25. |                                                                             |
  26. |    Remarks:   The remark in the PAUSE2 command is obligatory; it may     |
  27. |               not be left out. If it is left out, the remark will        |
  28. |           be the last command line typed (i.e. if you typed          |
  29. |                DIR B: followed by a PAUSE2 command that lacked a remark,  |
  30. |               the remark would be B:). Unlike DOS's PAUSE command,       |
  31. |           PAUSE2 uses the remark as the message that it will display |
  32. |           Beeps can be put in the remark by holding down <Ctrl> and  |
  33. |           pressing the 'G' key. On screen, you should see ^G. When   |
  34. |           the message is redisplayed, a beep will replace ^G.        |
  35. |           NOTE: You cannot use the characters '>','|', and '<' in a  |
  36. |           remark, because they are DOS redirection symbols.          |
  37. |                                                                             |
  38. |    Examples:  Here is an example of DOS's PAUSE command:                 |
  39. |                                                                             |
  40. |                A>PAUSE This is DOS's PAUSE.                          |
  41. |            Strike a key when ready . . .                         |
  42. |                                                                             |
  43. |           Here is the same example, but in a batch file which        |
  44. |           has had a previous ECHO OFF instruction:                   |
  45. |                                                                             |
  46. |            Strike a key when ready . . .                         |
  47. |                                                                             |
  48. |           Here is an example of PAUSE2:                              |
  49. |                                                                             |
  50. |            A>PAUSE2 This is PAUSE2. Press a key ==}              |
  51. |            This is PAUSE2. Press a key ==}                       |
  52. |                                                                             |
  53. |           Here is the same example, but in a batch file which        |
  54. |           has had a previous ECHO OFF instruction:                   |
  55. |                                                                             |
  56. |                       This is PAUSE2. Press a key ==}                       |
  57. |                                                                             |
  58. |               Here is a PAUSE2 example with beeping in it:               |
  59. |                                                                             |
  60. |            A>PAUSE2 You're all done! Press a key --^G^G^G        |
  61. |            You're all done! Press a key -- [beep beep beep]      |
  62. |                                                                             |
  63. |                                                                             |
  64. |    SEND ALL QUESTIONS AND COMMENTS TO:                                   |
  65. |    Scott Pakin                                                           |
  66. |    6007 N. Sheridan Rd.                                                  |
  67. |    Chicago, IL    60660                                                  |
  68. |_____________________________________________________________________________|
  69.