home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of Select: Games 4
/
CD_1.iso
/
games
/
gal-emp
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1991-12-09
|
2KB
|
54 lines
echo off
CLS
if "==%1" goto BADDRIVE
for %%f in (A:,a:,B:,b:,C:,c:,D:,d:,E:,e:,F:,f:,G:,g:,H:,h:) do if %1==%%f goto START
for %%f in (I:,i:,J:,j:,K:,k:,L:,l:,M:,m:,N:,n:,O:,o:) do if %1==%%f goto START
for %%f in (P:,p:,Q:,q:,R:,r:,S:,s:,T:,t:,U:,u:,V:,v:,W:,w:,X:,x:,Y:,y:,Z:,z:) do if %1==%%f goto START
:BADDRIVE
echo
echo You must enter a drive name.
echo in the form
echo INSTALL d:
goto END
: START
echo This will install Galactic Empires
echo in the directory \GE60 on the drive specified
echo in the command line (INSTALL d:).
echo
echo If you do NOT want to install it in this
echo directory press ctl-C or ctl-break now
echo and you will be returned to the DOS prompt.
echo
echo Press any key to begin installation...
pause >nul
if exist %1\ge60\ge.exe goto NEXT
md %1\ge60 >nul
: NEXT
CLS
echo
echo
echo
echo
echo
echo
echo ╔════════════════════════════════╗
echo ║ Installing Galctictic Empires ║
echo ║ Please wait... ║
echo ╚════════════════════════════════╝
copy ge.exe %1\ge60 >nul
copy hallfame.exe %1\ge60 >nul
copy hallfame %1\ge60 >nul
copy readme.ge %1\ge60 >nul
copy install.bat %1\ge60 >nul
echo Installation is complete.
echo To begin Galactic Empires type:
echo
echo GE [enter]
echo
echo at the prompt.
%1
cd %1\ge60
: END