home *** CD-ROM | disk | FTP | other *** search
/ Frostbyte's 1980s DOS Shareware Collection / floppyshareware.zip / floppyshareware / VORX / IFF50.ZIP / IFF_Q.BAT < prev    next >
DOS Batch File  |  1989-06-04  |  487b  |  15 lines

  1.     REM IFF_Q.BAT
  2.        ECHO OFF
  3.        CLS
  4.     REM simply as a question and test the ERRORLEVEL code. 0-yes 20-no
  5.        IFF Q DO YOU WANT TO CONTINUE
  6.        IF ERRORLEVEL 20 GOTO NO
  7.        ECHO YOUR ANSWER WAS YES
  8.        GOTO END
  9.     REM NO heading label.  if the response was 20 then we go here.  if the
  10.     REM response was 0 then we echo'd a yes response and goto END
  11.     :NO
  12.        ECHO YOUR ANSWER WAS NO.
  13.     REM END heading label.  that's all folks....
  14.     :END
  15.