home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / harddisk / masdir42.lzh / DEMO.BAT next >
DOS Batch File  |  1988-12-03  |  2KB  |  50 lines

  1. ECHO OFF
  2. DEMOSCR
  3. pause
  4. sdl_ask b
  5. ECHO  * * *
  6. ECHO This is the SDL DEMO (Copyright (c) 1987,88 Bob Stephan)
  7. ECHO This demo assumes that the program file SDL.COM is
  8. ECHO available in this directory on this disk, or in one
  9. ECHO of the directories on your current PATH.
  10. ECHO * * *
  11. ECHO It also assumes that SDL.COM is in its default
  12. ECHO configuration as provided on the original distribution
  13. ECHO disk.  If these conditions are not met, it will cause no
  14. ECHO harm, but the displays probably will not correspond with
  15. ECHO the descriptions, and you may see harmless error messages.
  16. ECHO * * *
  17. ECHO When asked a question a simple Return (Enter) will be taken as
  18. ECHO a Y or Yes response.  Pressing Esc will terminate the demo.
  19. ECHO To exit at any point, hold down the Ctrl key and press C
  20. ECHO (Ctrl-C), then answer Y to exit.
  21. ECHO * * *
  22. ECHO If you have a printer on line and loaded with paper,
  23. ECHO we can include actual printing demonstrations.  The printing
  24. ECHO demos will be done on the paper in your printer, and will
  25. ECHO change your Top of Form (TOF) setting, so you will have to
  26. ECHO realign your paper when finished.
  27. ECHO * * *
  28. sdl_ask C "Do you want to include printing demos (Y/n)? " YN}~
  29. if errorlevel 126 goto end
  30. IF ERRORLEVEL 89 DEMOSDL YES
  31. sdl_ask b
  32. ECHO * * *
  33. ECHO You have requested that we not use the printer.  Ok,
  34. ECHO but you will be missing a valuable feature of SDL.
  35. ECHO Please run the printing demo at some time when it
  36. ECHO can use the printer.  
  37. ECHO * * *
  38. ECHO Please note!  During the demo you will be given the
  39. ECHO opportunity to press keys to interact with SDL.
  40. ECHO The W, R, I, and T keys (in either upper or lower case)
  41. ECHO are the keys that tell SDL to print a directory listing
  42. ECHO if you bring up the print menu by pressing P.
  43. ECHO If you do NOT want to print, please do not press any of
  44. ECHO these keys.  The demo will not try to print if you don't.
  45. ECHO * * *
  46. pause
  47. DEMOSDL NO
  48. :END
  49. menu
  50.