home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
414.img
/
MYSTINC1.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-12-20
|
1KB
|
62 lines
echo off
cls
if "%1" == "" goto NoGood
if %1 == c: goto Good
if %1 == C: goto Good
if %1 == d: goto Good
if %1 == D: goto Good
if %1 == e: goto Good
if %1 == E: goto Good
if %1 == f: goto Good
if %1 == F: goto Good
if %1 == g: goto Good
if %1 == G: goto Good
if %1 == h: goto Good
if %1 == H: goto Good
if %1 == i: goto Good
if %1 == I: goto Good
if %1 == j: goto Good
if %1 == J: goto Good
if %1 == k: goto Good
if %1 == K: goto Good
if %1 == l: goto Good
if %1 == L: goto Good
if %1 == m: goto Good
if %1 == M: goto Good
if %1 == n: goto Good
if %1 == N: goto Good
if %1 == o: goto Good
if %1 == O: goto Good
if %1 == p: goto Good
if %1 == P: goto Good
echo "%1" is an invalid drive name.
goto End
:NoGood
echo Please specify onto which drive
echo you wish to install Mystical.
goto End
:Good
echo *****************************************
echo * MYSTICAL *
echo * hard disk %1 installation *
echo * in directory %1\mystical *
echo * Press Ctrl-C to cancel *
echo *****************************************
echo .
pause
if not exist %1\mystical\*.* goto ToutBon
echo Error : The directory %1\MYSTICAL already exists.
goto End
:ToutBon
md %1\mystical
copy inst2.mys %1\Mystical\inst2.bat > NUL
if not exist %1\Mystical\inst2.bat goto Error
%1\mystical\inst2 %1
goto End
:Error
echo Error : Your hard disk is full !!!
:End