home *** CD-ROM | disk | FTP | other *** search
/ The SelectWare System Volume 2 #3 / The_SelectWare_System_Series_1_Volume_2_Number_3_Selectware.iso / hew10000 / demo.bat < prev    next >
DOS Batch File  |  1989-01-16  |  1KB  |  43 lines

  1. echo off
  2. cls
  3. break off
  4. echo One moment please
  5. if exist show.exe goto :doit
  6. echo File Not Found
  7. echo Please make sure that the default drive and/or
  8. echo subdirectory are set correctly.
  9. goto :end
  10. :doit
  11. SHOW HPGG
  12. if not errorlevel 255 goto chk254
  13. echo Sorry, this demo requires at least 256K of memory.
  14. goto :end
  15. :chk254
  16. if not errorlevel 254 goto chk253
  17. echo Sorry, when using a VGA card this demo requires your VGA monitor to
  18. echo        be the primary monitor.
  19. goto :end
  20. :chk253
  21. if not errorlevel 253 goto chk252
  22. echo Sorry, you have a VGA card, but no VGA monitor is attached to your system
  23. goto :end
  24. :chk252
  25. if not errorlevel 252 goto chk251
  26. echo Sorry, this demo requires EGA or VGA graphics capabilities.
  27. goto :end
  28. :chk251
  29. if not errorlevel 251 goto chk250
  30. echo Sorry, your EGA card has insufficient memory.
  31. echo        256K of memory on the EGA card is required to run this demo.
  32. goto :end
  33. :chk250
  34. if not errorlevel 250 goto allok
  35. echo Sorry, your EGA monitor needs to be the primary monitor to run this demo.
  36. goto :end
  37. :allok
  38. echo Thank you for watching our Graphics Gallery Demo.
  39. echo If you would like to see it again, type:
  40. echo DEMO
  41. echo and press the enter key.
  42. :end
  43.