home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / private / basest40.zip / FINSTALL.BAT < prev    next >
DOS Batch File  |  1993-11-22  |  4KB  |  84 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       ║  on a floppy disk in Drive %1. Please make sure   ║
  10. echo       ║  you have a formatted disk in that drive.         ║
  11. echo       ║                                                   ║
  12. echo       ║  If you'd like to stop now without installing     ║
  13. echo       ║  the program, hit CTRL-C. Hit any other key       ║
  14. echo       ║  to proceed with the installation.                ║
  15. echo       ╚═══════════════════════════════════════════════════╝
  16. pause > nul
  17. cls
  18. echo       Installing Statpak 4.0 files now....
  19. echo:
  20. copy stat40.exe %1
  21. copy statpak4.pak %1
  22. copy baseball.bat %1
  23. copy speedscr.com %1
  24. if not exist %1stat40.exe goto badinstall
  25. if not exist %1baseball.bat goto badinstall
  26. if not exist %1speedscr.com goto badinstall
  27. if not exist %1statpak4.pak goto badinstall
  28. cls
  29. echo       ╔═══════════════════════════════════════════════════╗
  30. echo       ║           The Installation is Complete            ║
  31. echo       ╠═══════════════════════════════════════════════════╣
  32. echo       ║  Statpak 4.0 has been installed on Drive %1       ║
  33. echo       ║  You must now decide whether you want to copy     ║
  34. echo       ║  the demonstration statistics files to your       ║
  35. echo       ║  new working disk. To copy the files, type        ║
  36. echo       ║  DEMOCOPY Drive: and hit ENTER. For example,      ║
  37. echo       ║  to copy the demo files to drive B:, type         ║
  38. echo       ║                                                   ║
  39. echo       ║           DEMOCOPY B: (and hit ENTER)             ║
  40. echo       ║                                                   ║
  41. echo       ║  To run the program, switch to the drive with     ║
  42. echo       ║  your working disk. Type BASEBALL and hit ENTER.  ║
  43. echo       ╚═══════════════════════════════════════════════════╝
  44. echo:
  45. prompt $p$g
  46. goto finis
  47.  
  48. :badinstall
  49. echo:
  50. cls
  51. echo       ╔═══════════════════════════════════════════════════╗
  52. echo       ║   Sorry, the Installation is NOT Complete         ║
  53. echo       ╠═══════════════════════════════════════════════════╣
  54. echo       ║  Please check to make sure all the necessary      ║
  55. echo       ║  files were on your installation disk. Also make  ║
  56. echo       ║  sure you specified the name of an existing       ║
  57. echo       ║  drive, including the colon. For example, to      ║
  58. echo       ║  install the program on Drive B, you'd type       ║
  59. echo       ║                                                   ║
  60. echo       ║           FINSTALL B: (and hit ENTER)             ║
  61. echo       ║                                                   ║
  62. echo       ╚═══════════════════════════════════════════════════╝
  63. echo:
  64. goto finis
  65.  
  66. :nodrive
  67. cls
  68. echo       ╔═══════════════════════════════════════════════════╗
  69. echo       ║              Sorry, No Drive Specified            ║
  70. echo       ╠═══════════════════════════════════════════════════╣
  71. echo       ║  To make the installation work properly, you      ║
  72. echo       ║  must specify a Drive letter. For example, to     ║
  73. echo       ║  install Statpak on Drive B:, type                ║
  74. echo       ║                                                   ║
  75. echo       ║           FINSTALL B: (and hit ENTER)             ║
  76. echo       ║                                                   ║
  77. echo       ╚═══════════════════════════════════════════════════╝
  78. echo:
  79. prompt $p$g
  80. goto finis
  81.  
  82. :finis
  83.  
  84.