home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / misc / cthand44.zip / HINSTALL.BAT < prev    next >
DOS Batch File  |  1993-06-21  |  4KB  |  98 lines

  1. echo off
  2. cls
  3. if "%1"=="" goto nodrive
  4.  
  5. echo       ╔═══════════════════════════════════════════════════╗
  6. echo       ║  Cambridge Thoroughbred Handicapper Version 4.4   ║
  7. echo       ╠═══════════════════════════════════════════════════╣
  8. echo       ║  This batch file will install Thoroughbred 4.4    ║
  9. echo       ║  on your hard drive in Directory %1\T44           ║
  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 Thoroughbred 4.4 files now....
  18. echo:
  19. md %1\t44
  20. copy ntho44s.exe %1\t44
  21. copy threg.exe %1\t44
  22. copy t44.bat %1\t44
  23. copy t44s.pak %1\t44
  24. copy cap.cfg %1\t44
  25. copy speedscr.com %1\t44
  26. copy readme.com %1\t44
  27. copy hinstall.bat %1\t44
  28. copy finstall.bat %1\t44
  29. copy thoro44.doc %1\t44
  30. copy printme.bat %1\t44
  31. if not exist %1\t44\ntho44s.exe goto badinstall
  32. if not exist %1\t44\t44.bat goto badinstall
  33. if not exist %1\t44\speedscr.com goto badinstall
  34. if not exist %1\t44\t44s.pak goto badinstall
  35. if not exist %1\t44\threg.exe goto badinstall
  36. if not exist %1\t44\thoro44.doc goto badinstall
  37. if not exist %1\t44\cap.cfg goto badinstall
  38. if not exist %1\t44\finstall.bat goto badinstall
  39. if not exist %1\t44\hinstall.bat goto badinstall
  40. if not exist %1\t44\printme.bat goto badinstall
  41. if not exist %1\t44\readme.com goto badinstall
  42. %1
  43. cd\t44
  44. cls
  45. echo       ╔═══════════════════════════════════════════════════╗
  46. echo       ║           The Installation is Complete            ║
  47. echo       ╠═══════════════════════════════════════════════════╣
  48. echo       ║  Thoroughbred 4.4 has been installed on Drive %1  ║
  49. echo       ║  In the %1\t44 directory.                         ║
  50. echo       ║                                                   ║
  51. echo       ║  To run the program, type T44 and hit ENTER.      ║
  52. echo       ║                                                   ║
  53. echo       ║  For information, type README and hit ENTER.      ║
  54. echo       ║                                                   ║
  55. echo       ║  To print the manual, type PRINTME and hit ENTER. ║
  56. echo       ╚═══════════════════════════════════════════════════╝
  57. echo:
  58. prompt $p$g
  59. goto finis
  60.  
  61. :badinstall
  62. echo:
  63. cls
  64. echo       ╔═══════════════════════════════════════════════════╗
  65. echo       ║   Sorry, the Installation is NOT Complete         ║
  66. echo       ╠═══════════════════════════════════════════════════╣
  67. echo       ║  Please check to make sure all the necessary      ║
  68. echo       ║  files were on your installation disk. Also make  ║
  69. echo       ║  sure you specified the name of an existing hard  ║
  70. echo       ║  drive, including the colon. For example, to      ║
  71. echo       ║  install the program on Drive C, you'd type       ║
  72. echo       ║                                                   ║
  73. echo       ║           HINSTALL C: (and hit ENTER)             ║
  74. echo       ║                                                   ║
  75. echo       ╚═══════════════════════════════════════════════════╝
  76. echo:
  77. goto finis
  78.  
  79.  
  80. :nodrive
  81. cls
  82. echo       ╔═══════════════════════════════════════════════════╗
  83. echo       ║              Sorry, No Drive Specified            ║
  84. echo       ╠═══════════════════════════════════════════════════╣
  85. echo       ║  To make the installation work properly, you      ║
  86. echo       ║  must specify a Drive letter. For example, to     ║
  87. echo       ║  install the program on Drive C:, type            ║
  88. echo       ║                                                   ║
  89. echo       ║           HINSTALL C: (and hit ENTER)             ║
  90. echo       ║                                                   ║
  91. echo       ╚═══════════════════════════════════════════════════╝
  92. echo:
  93. prompt $p$g
  94. goto finis
  95.  
  96. :finis
  97.  
  98.