home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / DOS_HELP / PC_HELP2.ZIP / HELPPUBL.ZIP / ASK.### next >
Encoding:
Text File  |  1985-07-07  |  673 b   |  23 lines

  1. COMMAND:  ASK                                   DOCUMENTATION : On-line
  2.  
  3. FUNCTION: Asks a yes/no question from a batch file.
  4.  
  5. FORMAT:   ASK [text]
  6.  
  7. TYPE:     Public domain batch sub-command, Version 1.10
  8.  
  9. REMARKS:  This enhancement to the DOS 2.0 batch facility allows a batch file
  10.           to ask a yes/no question of the user. The user must enter Y,y,N or n.
  11.           If any other character is entered, 'Y/N ?' is displayed, and the user
  12.           must try again. Upon receipt of a valid entry, ERRORLEVEL is set to
  13.           0 for Y,y and to 1 for N,n. If no text is supplied, the default
  14.           prompt 'Press Y or N ?' is displayed.
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.