home *** CD-ROM | disk | FTP | other *** search
- COMMAND: ASK DOCUMENTATION : On-line
-
- FUNCTION: Asks a yes/no question from a batch file.
-
- FORMAT: ASK [text]
-
- TYPE: Public domain batch sub-command, Version 1.10
-
- REMARKS: This enhancement to the DOS 2.0 batch facility allows a batch file
- to ask a yes/no question of the user. The user must enter Y,y,N or n.
- If any other character is entered, 'Y/N ?' is displayed, and the user
- must try again. Upon receipt of a valid entry, ERRORLEVEL is set to
- 0 for Y,y and to 1 for N,n. If no text is supplied, the default
- prompt 'Press Y or N ?' is displayed.
-
-
-
-
-
-
-
-