home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
batutl
/
batutl2.arc
/
PAUSE2.DOC
< prev
next >
Wrap
Text File
|
1986-04-27
|
6KB
|
94 lines
|_____________________________________________________________________________|
| |
| PAUSE2.COM |
| |
| A subcommand (to be used in batch files, |
| especially when ECHO is off) |
| |
| |
| This program is an improved version of DOS's PAUSE command. The |
| problems with DOS's PAUSE command are that, when ECHO is off, |
| it only displays one message ("Strike a key when ready . . ."), |
| and it doesn't alert the user when it appears. This program allows |
| users to display any message they want, which could include beeps. |
| |
|-----------------------------------------------------------------------------|
| |
| |
| Purpose: Suspends system processing, displays a message, and |
| waits for the user to press a character key. |
| |
| Format: PAUSE2 remark |
| |
| Type: Internal External |
| *** |
| |
| Remarks: The remark in the PAUSE2 command is obligatory; it may |
| not be left out. If it is left out, the remark will |
| be the last command line typed (i.e. if you typed |
| DIR B: followed by a PAUSE2 command that lacked a remark, |
| the remark would be B:). Unlike DOS's PAUSE command, |
| PAUSE2 uses the remark as the message that it will display |
| Beeps can be put in the remark by holding down <Ctrl> and |
| pressing the 'G' key. On screen, you should see ^G. When |
| the message is redisplayed, a beep will replace ^G. |
| NOTE: You cannot use the characters '>','|', and '<' in a |
| remark, because they are DOS redirection symbols. |
| |
| Examples: Here is an example of DOS's PAUSE command: |
| |
| A>PAUSE This is DOS's PAUSE. |
| Strike a key when ready . . . |
| |
| Here is the same example, but in a batch file which |
| has had a previous ECHO OFF instruction: |
| |
| Strike a key when ready . . . |
| |
| Here is an example of PAUSE2: |
| |
| A>PAUSE2 This is PAUSE2. Press a key ==} |
| This is PAUSE2. Press a key ==} |
| |
| Here is the same example, but in a batch file which |
| has had a previous ECHO OFF instruction: |
| |
| This is PAUSE2. Press a key ==} |
| |
| Here is a PAUSE2 example with beeping in it: |
| |
| A>PAUSE2 You're all done! Press a key --^G^G^G |
| You're all done! Press a key -- [beep beep beep] |
| |
| |
| SEND ALL QUESTIONS AND COMMENTS TO: |
| Scott Pakin |
| 6007 N. Sheridan Rd. |
| Chicago, IL 60660 |
|_____________________________________________________________________________|
This disk copy provided as a service of
The Public (Software) Library
the software library of
The Houston Area League of PC Users
Program disks are available for as little as $2 each and a
20-page monthly newsletter reviewing all the latest public
domain and shareware software plus a listing of all the
disks in our library is available for just $12 a year.
For a copy of the latest monthly software library newsletter
and program directory, send a self-addressed, stamped (with
two stamps), legal-size envelope or send $1 to
The Public (Software) Library
P.O.Box 61565
Dept. D
Houston, TX 77208