home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
genapps
/
hp22da.arj
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-07-15
|
710b
|
35 lines
@echo off
set srcdrv=A
set tgtdrv=C
set tgtdir=\HYPERPAD
if "%3" == "" goto x3
set srcdrv=%1
set tgtsrv=%2
set tgtdir=%3
goto x4
:x3
if "%2" == "" goto x2
set srcdrv=%1
set tgtsrv=%2
goto x4
:x2
if "%1" == "" goto x4
set tgtdrv=%1
:x4
echo ......... About to install HyperPAD from %srcdrv%: to %tgtdrv%:%tgtdir%
echo .........
echo ......... If this is not correct, press CTRL-BREAK now and use:
echo .........
echo ......... INSTALL [source drive] [target drive] [target dir]
echo .........
echo ......... Example: INSTALL B D \APPS\HYPERPAD
echo .........
pause
%tgtdrv%:
md hyperpad >nul
cd hyperpad
copy %srcdrv%:hpinst2.bat
copy %srcdrv%:pkunzip.exe
hpinst2