home *** CD-ROM | disk | FTP | other *** search
-
- TASK.COM
- =========
-
-
- TASK [prompt] [$valid-responses]
-
- This little program will display a prompt and wait
- for a single key entry from the keyboard. It then sets the
- DOS errorlevel to the ascii value of the key and returns to
- DOS. Both [prompt] and [$valid-responses] are optional. If
- a prompt is not supplied, TASK simply waits for a key to be
- pressed and returns the ASCII code. The valid responses
- must begin with a "$". If a string of valid responses is
- not supplied, TASK will accept any key pressed and return
- the code. Both the valid responses and any input from the
- keyboard is converted to upper case. Beware of
- valid-response characters that will be interpreted by DOS as
- re-direction of standard input or standard output.
-