home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR25
/
LIKEA_1.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-01-13
|
782b
|
30 lines
@echo off
cls
if "%1"=="" goto baddrive
if "%2"=="" goto baddrive
echo.
echo This program will install "Sounds Like A.." on drive %2
echo To proceed with installation, press any key. To exit, press CTRL-C.
echo.
pause
cls
echo Beginning installation from Drive %1. Please wait . . .
echo Copying Disk1 ...
%2:
CD\
MD SLA
CD\SLA
%1:
COPY %1:SLA.DOC %2: > nul
COPY %1:INSTALL.OVL %2:INSTALL2.BAT > nul
COPY %1:ADDFILE.EXE %2: > nul
%2:
INSTALL2 %1
:BADDRIVE
echo.
echo Cannot install SLA
echo You must specify the source and destination drives when running install
echo Example: INSTALL A D (installs from A to D)
ECHO YOU MUST NOT USE ANY : AFTER THE DRIVE NAME YOU MUST JUST PUT
ECHO THE DRIVE LETTER IF YOU PUT A: YOU WILL GET AN ERROR MESSAGE