home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / educ / cvtutor.zip / SAMPLE.BAT < prev    next >
DOS Batch File  |  1987-08-13  |  1KB  |  50 lines

  1. ECHO OFF
  2. CLS
  3. RESPOND 
  4. IF ERRORLEVEL 80 GOTO MEMOK
  5. ECHO The sample session requires approximately 320K of free
  6. ECHO memory. You don't have enough. If you have resident programs
  7. ECHO you may want to remove them and try again.
  8. ECHO 
  9. GOTO EXIT
  10. :MEMOK
  11. RESPOND 
  12. IF ERRORLEVEL 2 GOTO NEXTD
  13. ECHO The CodeView (TM) debugger requires DOS Version 2.0 or
  14. ECHO higher. You must update DOS before running the session.
  15. ECHO 
  16. GOTO EXIT
  17. :NEXTD
  18. IF NOT ERRORLEVEL 4 GOTO DOSOK
  19. ECHO You have Version 4.0 or higher of DOS. The CodeView (TM)
  20. ECHO debugger has not been tested with these versions. If you
  21. ECHO have trouble with the session, it may be due to DOS
  22. ECHO incompatibility.
  23. ECHO 
  24. PAUSE
  25. :DOSOK
  26. CLS
  27. TYPE S1.@@@
  28. RESPOND ICN
  29. CLS
  30. IF ERRORLEVEL 78 GOTO NOWAY
  31. IF ERRORLEVEL 73 ADAPT N N N
  32. IF ERRORLEVEL 67 GOTO CHOOSE
  33. :NOWAY
  34. TYPE S14.@@@
  35. RESPOND YN
  36. ECHO 
  37. IF NOT ERRORLEVEL 89 GOTO EXIT
  38. COPY CODEVIEW.DOC PRN
  39. ECHO 
  40. GOTO EXIT
  41. :CHOOSE
  42. TYPE S2.@@@
  43. RESPOND YN
  44. CLS
  45. IF ERRORLEVEL 89 ADAPT N N N /D
  46. ADAPT N N N /I
  47. :EXIT
  48. ECHO OFF
  49.  
  50.