home *** CD-ROM | disk | FTP | other *** search
/ The SelectWare System Volume 2 #3 / The_SelectWare_System_Series_1_Volume_2_Number_3_Selectware.iso / mic20070 / demo.bat < prev    next >
DOS Batch File  |  1990-05-03  |  1KB  |  42 lines

  1. echo off
  2. cls
  3. break off
  4. if exist w3show.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. W3SHOW W3
  11. if not errorlevel 255 goto chk254
  12. echo Sorry, this demo requires at least 256K of memory.
  13. goto :end
  14. :chk254
  15. if not errorlevel 254 goto chk253
  16. echo Sorry, when using a VGA card this demo requires your VGA monitor to
  17. echo        be the primary monitor.
  18. goto :end
  19. :chk253
  20. if not errorlevel 253 goto chk252
  21. echo Sorry, you have a VGA card, but no VGA monitor is attached to your system
  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, your EGA card has insufficient memory.
  30. echo        256K of memory on the EGA card is required to run this demo.
  31. goto :end
  32. :chk250
  33. if not errorlevel 250 goto allok
  34. echo Sorry, your EGA monitor needs to be the primary monitor to run this demo.
  35. goto :end
  36. :allok
  37. echo Thank you for watching our Microsoft Windows Demo
  38. echo If you would like to see it again, type:
  39. echo DEMO
  40. echo and press the enter key.
  41. :end
  42.