home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / v / vsnbl220.zip / DEMO.BAT < prev    next >
DOS Batch File  |  1991-02-14  |  824b  |  29 lines

  1. @ECHO OFF
  2. IF NOT EXIST %1SNOBOL4.EXE GOTO FAIL
  3. IF NOT EXIST %1DEMO.SNO GOTO FAIL
  4. %1SNOBOL4 %1DEMO.SNO;%1DEMO.TXT
  5. IF ERRORLEVEL 1 GOTO FAIL
  6. GOTO DONE
  7. :FAIL
  8. ECHO *
  9. ECHO *      I'm unable to locate the SNOBOL4 compiler or the
  10. ECHO *      demonstration files.  Retype the DEMO command and
  11. ECHO *      provide the disk drive where the SNOBOL4 demonstation
  12. ECHO *      is located.
  13. ECHO *
  14. ECHO *      For example, if the demonstration files are located on
  15. ECHO *      drive B:, enter
  16. ECHO *
  17. ECHO *      B:DEMO B:
  18. ECHO *
  19. ECHO *      You can also specify a full pathname to the directory
  20. ECHO *      containing the demonstration files.  Just be sure to
  21. ECHO *      end the pathname with a \, as in:
  22. ECHO *
  23. ECHO *      D:\FILES\SNOBOL4\DEMO D:\FILES\SNOBOL4\
  24. ECHO *
  25. ECHO *      
  26. ECHO *      
  27. :DONE
  28. ECHO ON
  29.