home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
misc
/
cthand44.zip
/
HINSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-06-21
|
4KB
|
98 lines
echo off
cls
if "%1"=="" goto nodrive
echo ╔═══════════════════════════════════════════════════╗
echo ║ Cambridge Thoroughbred Handicapper Version 4.4 ║
echo ╠═══════════════════════════════════════════════════╣
echo ║ This batch file will install Thoroughbred 4.4 ║
echo ║ on your hard drive in Directory %1\T44 ║
echo ╠═══════════════════════════════════════════════════╣
echo ║ If you'd like to stop now without installing ║
echo ║ the program, hit CTRL-C. Hit any other key ║
echo ║ to proceed with the installation. ║
echo ╚═══════════════════════════════════════════════════╝
pause > nul
cls
echo Installing Thoroughbred 4.4 files now....
echo:
md %1\t44
copy ntho44s.exe %1\t44
copy threg.exe %1\t44
copy t44.bat %1\t44
copy t44s.pak %1\t44
copy cap.cfg %1\t44
copy speedscr.com %1\t44
copy readme.com %1\t44
copy hinstall.bat %1\t44
copy finstall.bat %1\t44
copy thoro44.doc %1\t44
copy printme.bat %1\t44
if not exist %1\t44\ntho44s.exe goto badinstall
if not exist %1\t44\t44.bat goto badinstall
if not exist %1\t44\speedscr.com goto badinstall
if not exist %1\t44\t44s.pak goto badinstall
if not exist %1\t44\threg.exe goto badinstall
if not exist %1\t44\thoro44.doc goto badinstall
if not exist %1\t44\cap.cfg goto badinstall
if not exist %1\t44\finstall.bat goto badinstall
if not exist %1\t44\hinstall.bat goto badinstall
if not exist %1\t44\printme.bat goto badinstall
if not exist %1\t44\readme.com goto badinstall
%1
cd\t44
cls
echo ╔═══════════════════════════════════════════════════╗
echo ║ The Installation is Complete ║
echo ╠═══════════════════════════════════════════════════╣
echo ║ Thoroughbred 4.4 has been installed on Drive %1 ║
echo ║ In the %1\t44 directory. ║
echo ║ ║
echo ║ To run the program, type T44 and hit ENTER. ║
echo ║ ║
echo ║ For information, type README and hit ENTER. ║
echo ║ ║
echo ║ To print the manual, type PRINTME and hit ENTER. ║
echo ╚═══════════════════════════════════════════════════╝
echo:
prompt $p$g
goto finis
:badinstall
echo:
cls
echo ╔═══════════════════════════════════════════════════╗
echo ║ Sorry, the Installation is NOT Complete ║
echo ╠═══════════════════════════════════════════════════╣
echo ║ Please check to make sure all the necessary ║
echo ║ files were on your installation disk. Also make ║
echo ║ sure you specified the name of an existing hard ║
echo ║ drive, including the colon. For example, to ║
echo ║ install the program on Drive C, you'd type ║
echo ║ ║
echo ║ HINSTALL C: (and hit ENTER) ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════╝
echo:
goto finis
:nodrive
cls
echo ╔═══════════════════════════════════════════════════╗
echo ║ Sorry, No Drive Specified ║
echo ╠═══════════════════════════════════════════════════╣
echo ║ To make the installation work properly, you ║
echo ║ must specify a Drive letter. For example, to ║
echo ║ install the program on Drive C:, type ║
echo ║ ║
echo ║ HINSTALL C: (and hit ENTER) ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════╝
echo:
prompt $p$g
goto finis
:finis