home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
utils
/
switch.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-11-21
|
1KB
|
59 lines
echo off
cls
echo
echo Switch v1.2 Installation
echo
echo
if "%1"=="" goto noparam
echo Installing Switch v1.2 to c:\%1.
goto continue
:noparam
echo Installing Switch v1.2 to c:\switch.
:continue
echo
echo
if exist c:\switch.bat del c:\switch.bat
if "%1"=="" goto noparam2
if not exist c:\%1\*.* md c:\%1
copy switch.exe c:\%1
copy switch.pif c:\%1
copy switch.ico c:\%1
copy help*.dat c:\%1
echo echo off >>c:\switch.bat
echo c: >>c:\switch.bat
echo cd \%1 >>c:\switch.bat
c:
cd \%1
goto continue_on
:noparam2
if not exist c:\switch\*.* md c:\switch
copy switch.exe c:\switch
copy switch.pif c:\switch
copy switch.ico c:\switch
copy help*.dat c:\switch
echo echo off >>c:\switch.bat
echo c: >>c:\switch.bat
echo cd \switch >>c:\switch.bat
c:
cd \switch
:continue_on
echo switch %%1 %%2 >>c:\switch.bat
echo cd \ >>c:\switch.bat
cd \
echo
echo
echo Switch v1.2 has been installed.
echo
echo Type SWITCH to run it.
echo