home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
wp
/
ezhelp.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-03-31
|
1KB
|
51 lines
echo off
cls
echo .=============== EZhelp installation batch ===============
echo .
if %1()==() goto TELLUSE
if %2()==() goto TELLUSE
IF EXIST %1:\EZHELP.EXE GOTO ASKCONFIRM
echo . EZhelp files not found on drive %1...
echo .
goto END
:ASKCONFIRM
echo . This batch will install EZhelp files from
echo . drive %1 to drive %2, creating the following
echo . subdirectories:
echo .
echo . \EZHELP - EZhelp Reference system
echo . \EZHELP\SRC - Sample C program
echo .
echo . If you wish to exit without installing,
echo . press Ctrl-Break now.
echo .
pause
md %2:\ezhelp > NUL
copy %1:\*.* %2:\ezhelp\*.*
md %2:\ezhelp\src > NUL
copy %1:\src\*.* %2:\ezhelp\src\*.*
%2:
cd\ezhelp
cls
ezhelp ezhelp.txt -A1 -D1 -TEZhelp_Reference
echo .=============== Thanks for trying EZhelp! ===============
echo .
echo . Type EX1 or EX2 to see more examples...
echo . or type EZSETUP to set default colors & options.
echo .
goto END
:TELLUSE
echo . Usage: INSTALL X Y
echo .
echo . ...where X is the floppy drive letter
echo . and Y is the destination drive letter
echo .
:END