home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
DB
/
DB023.ZIP
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1992-01-12
|
2KB
|
55 lines
@echo off
ECHO OFF
if "%1%"=="" goto bad
For %%x In (a,b,c,d,e,f,g,h,i) Do If %%x == %1 goto option_1
For %%x In (A,B,C,D,E,F,G,H,I) Do If %%x == %1 goto option_1
For %%x In (a:,b:,c:,d:,e:,f:,g:,h:,i:) Do If %%x == %1 goto option_2
For %%x In (A:,B:,C:,D:,E:,F:,G:,H:,I:) Do If %%x == %1 goto option_2
For %%x In (j,k,l,m,n,o,p,q,r) Do If %%x == %1 goto option_1
For %%x In (J,K,L,M,N,O,P,Q,R) Do If %%x == %1 goto option_1
For %%x In (j:,k:,l:,m:,n:,o:,p:,q:,r:) Do If %%x == %1 goto option_2
For %%x In (J:,K:,L:,M:,N:,O:,P:,Q:,R:) Do If %%x == %1 goto option_2
For %%x In (s,t,u,v,w,x,y,z) Do If %%x == %1 goto option_1
For %%x In (S,T,U,V,W,X,Y,Z) Do If %%x == %1 goto option_1
For %%x In (s:,t:,u:,v:,w:,x:,y:,z:) Do If %%x == %1 goto option_2
For %%x In (S:,T:,U:,V:,W:,X:,Y:,Z:) Do If %%x == %1 goto option_2
goto bad
:option_1
cls
echo ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
echo SYSTRACK will be installed on %1%:\systrack
echo ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
echo .
echo If this is NOT correct, hold down the CTRL key and press C. When prompted
echo "Terminate batch file (Y/N)?" type Y. Then, rerun this program with the
echo proper information. If this IS correct, then
pause
cls
md %1%:\systrack
systrk10 %1%:\systrack
goto end
:option_2
cls
echo ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
echo SYSTRACK will be installed on %1%\systrack
echo ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
echo .
echo If this is NOT correct, hold down the CTRL key and press C. When prompted
echo "Terminate batch file (Y/N)?" type Y. Then, rerun this program with the
echo proper information. If this IS correct, then
pause
md %1%\systrack
systrk10 %1%\systrack
goto end
:bad
cls
echo --------------------------------------------------------------------------
echo USAGE: install [Destination]
echo WHERE:
echo [Destination] is the drive where SYSTRACK is to be installed.
echo Usually, this is C
echo --------------------------------------------------------------------------
echo EXAMPLE: install c [do NOT include a colon after the drive letter]
echo --------------------------------------------------------------------------
:end