home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / games / basebal4.zip / DEMOCOPY.BAT < prev    next >
DOS Batch File  |  1991-01-04  |  2KB  |  50 lines

  1. echo off
  2. cls
  3. if "%1"=="" goto nodrive
  4.  
  5. echo       ╔═══════════════════════════════════════════════════╗
  6. echo       ║              Baseball Statpak 4.0                 ║
  7. echo       ╠═══════════════════════════════════════════════════╣
  8. echo       ║  This batch file will install Baseball Statpak    ║
  9. echo       ║  demonstration files on a disk in Drive %1        ║
  10. echo       ║  Be sure you have a formatted disk in that drive. ║
  11. echo       ║                                                   ║
  12. echo       ║  If you'd like to stop now without copying the    ║
  13. echo       ║  demo files, hit CTRL-C. Hit any other key        ║
  14. echo       ║  to proceed with the installation.                ║
  15. echo       ╚═══════════════════════════════════════════════════╝
  16. pause > nul
  17. cls
  18. echo       Installing Demonstration files now....
  19. echo:
  20. copy demo.* %1
  21. cls
  22. echo       ╔═══════════════════════════════════════════════════╗
  23. echo       ║     The Demonstration Files have been copied.     ║
  24. echo       ╠═══════════════════════════════════════════════════╣
  25. echo       ║  To run the program, switch to the drive with     ║
  26. echo       ║  your working disk. Type BASEBALL and hit ENTER.  ║
  27. echo       ╚═══════════════════════════════════════════════════╝
  28. echo:
  29. prompt $p$g
  30. goto finis
  31.  
  32. :nodrive
  33. cls
  34. echo       ╔═══════════════════════════════════════════════════╗
  35. echo       ║              Sorry, No Drive Specified            ║
  36. echo       ╠═══════════════════════════════════════════════════╣
  37. echo       ║  To make the installation work properly, you      ║
  38. echo       ║  must specify a Drive letter. For example, to     ║
  39. echo       ║  copy the DEMO files to Drive B:, type            ║
  40. echo       ║                                                   ║
  41. echo       ║           DEMOCOPY B: (and hit ENTER)             ║
  42. echo       ║                                                   ║
  43. echo       ╚═══════════════════════════════════════════════════╝
  44. echo:
  45. prompt $p$g
  46. goto finis
  47.  
  48. :finis
  49.  
  50.