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