home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast.iso / pcmag / vol8n02.zip / REPLDEMO.BAT < prev    next >
DOS Batch File  |  1988-09-02  |  269b  |  13 lines

  1. @ECHO OFF
  2. ECHO Do you want to continue?  Answer yes or no.
  3. CALL GETREPLY
  4. FOR %%f IN (yes no YES NO) DO IF %reply%==%%f GOTO %%f
  5. ECHO You entered "%reply%" -- that is not yes or no.
  6. GOTO end
  7. :yes
  8. ECHO You entered yes.
  9. GOTO end
  10. :no
  11. ECHO You entered no.
  12. :end
  13.