home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-04-27
|
1KB
|
42 lines
@echo off
%2
cd \
md \%3
cd \%3
echo ------------------------------------------------------------------------
echo.
echo usage: install d1 d2 p
echo .
echo where d1 = source drive (d: e: etc.)
echo d2 = target drive (c: d: etc.) default: current dir
echo p = pathname on target drive default: root
echo .
echo .
echo Example: install d: c: sample
echo copy the interface files from the CD-ROM drive d:
echo into the directory \sample on hard disk drive c:
echo .
echo ------------------------------------------------------------------------
choice /c:wdq (Windows, Dos, Quit)
if ERRORLEVEL 3 goto end
if ERRORLEVEL 2 goto instdos
if ERRORLEVEL 1 goto instwin
:instwin
echo ----------- Install Windows interface ------------
copy %1\dos\win_if\*.* %2\%3 > nul
win %2\%3\msarn110.exe %2\%3\cdconx.mdb
goto end
:instdos
echo ----------- Install DOS interface ------------
copy %1\dos\*.* %2\%3 > nul
%2\%3\cdcon
goto end
:end