home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adventures in Heaven 2
/
adventuresinheaven2powergamesfordosandwindows.iso
/
dos
/
sports
/
baseball
/
hinstall.bat
< prev
next >
Wrap
DOS Batch File
|
1993-11-22
|
3KB
|
80 lines
echo off
cls
if "%1"=="" goto nodrive
echo ╔═══════════════════════════════════════════════════╗
echo ║ Baseball Statpak 4.0 ║
echo ╠═══════════════════════════════════════════════════╣
echo ║ This batch file will install Baseball Statpak ║
echo ║ on your hard drive in Directory %1\BB40. ║
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 Statpak 4.0 files now....
echo:
md %1\bb40
copy stat40.exe %1\bb40
copy statpak4.pak %1\bb40
copy baseball.bat %1\bb40
copy speedscr.com %1\bb40
copy statpak.cfg %1\bb40
copy demo.* %1\bb40
if not exist %1\bb40\stat40.exe goto badinstall
if not exist %1\bb40\baseball.bat goto badinstall
if not exist %1\bb40\demo.* goto badinstall
%1
cd\bb40
cls
echo ╔═══════════════════════════════════════════════════╗
echo ║ The Installation is Complete ║
echo ╠═══════════════════════════════════════════════════╣
echo ║ Statpak 4.0 has been installed on Drive %1 ║
echo ║ In the %1\BB40 directory. To run the program, ║
echo ║ type BASEBALL and hit the ENTER key. ║
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 Statpak on Drive C:, type ║
echo ║ ║
echo ║ HINSTALL C: (and hit ENTER) ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════╝
echo:
prompt $p$g
goto finis
:finis