home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / misc / cthand44.zip / FINSTALL.BAT < prev    next >
DOS Batch File  |  1993-06-21  |  3KB  |  84 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 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 Thoroughbred 4.4 files now...
  19. echo:
  20. copy ntho44s.exe %1
  21. copy t44.bat %1
  22. copy t44s.pak %1
  23. copy cap.cfg %1
  24. copy speedscr.com %1
  25. copy finstall.bat %1
  26. copy hinstall.bat %1
  27. copy readme.com %1
  28. copy threg.exe %1
  29.  
  30. if not exist %1ntho44s.exe goto badinstall
  31. if not exist %1t44.bat goto badinstall
  32. if not exist %1speedscr.com goto badinstall
  33. if not exist %1t44s.pak goto badinstall
  34. if not exist %1threg.exe goto badinstall
  35. if not exist %1cap.cfg goto badinstall
  36. cls
  37. echo       ╔═══════════════════════════════════════════════════╗
  38. echo       ║           The Installation is Complete            ║
  39. echo       ╠═══════════════════════════════════════════════════╣
  40. echo       ║  Thoroughbred 4.4 has been installed on Drive %1  ║
  41. echo       ║  To run the program, switch to the drive with     ║
  42. echo       ║  your working disk. Type T44 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.