home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / OS2PRES1.ZIP / DEMO.BAT < prev    next >
DOS Batch File  |  1992-05-26  |  1KB  |  40 lines

  1. echo off
  2. cls
  3. break off
  4. if exist OS2.EXE goto :doit
  5. echo File Not Found
  6. echo Please make sure that the default drive and/or
  7. echo subdirectory are set correctly.
  8. goto :end
  9. :doit
  10. OS2
  11. if not errorlevel 255 goto chk254
  12. echo EXE file corrupted.  Diskette may be damaged.
  13. echo Demo terminated.
  14. goto :end
  15. :chk254
  16. if not errorlevel 254 goto chk253
  17. echo Sorry, This demo requires DOS 2.0 or higher.
  18. goto :end
  19. :chk253
  20. if not errorlevel 253 goto chk252
  21. echo Sorry, this demo requires VGA graphics capabilities.
  22. goto :end
  23. :chk252
  24. if not errorlevel 252 goto chk251
  25. echo Sorry, this demo requires EGA or VGA graphics capabilities.
  26. goto :end
  27. :chk251
  28. if not errorlevel 251 goto chk250
  29. echo Sorry, 256K of memory on the EGA card is required to run this demo.
  30. goto :end
  31. :chk250
  32. if not errorlevel 250 goto allok
  33. echo Sorry, this demo needs to be run from a hard disk.  Try again.
  34. goto :end
  35. :allok
  36. echo Thank you for watching our IBM OS/2 demo
  37. echo If you would like to see it again, 
  38. echo type DEMO, and press the ENTER key.
  39. :end end
  40.