home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
PRINTING
/
DL45.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-03-01
|
2KB
|
102 lines
echo off
cls
echo DaLabeler v4.5 Installation
echo
echo
if /%1 == / goto instruct
if /%2 == / goto instruct
if %2 == A goto doFlop
if %2 == a goto doFlop
if %2 == B goto doFlop
if %2 == b goto doFlop
if %2 == C goto doHard
if %2 == c goto doHard
if %2 == D goto doHard
if %2 == d goto doHard
if %2 == E goto doHard
if %2 == e goto doHard
if %2 == F goto doHard
if %2 == f goto doHard
if %2 == G goto doHard
if %2 == g goto doHard
if %2 == H goto doHard
if %2 == h goto doHard
:instruct
echo Run INSTALL with drive letter you wish to install from and install to.
echo (I.E. if you wish to install from drive A to drive D, type "INSTALL A D"
echo at the DOS command line. Choices are Drives A-H).
goto ENDALL
pause
:doFlop
echo
echo Insert disk in Drive %2 - press CTRL-C to abort.
echo
pause
echo
%2:
cd \
echo
copy %1:dalab*.*
copy %1:dl4*.*
copy %1:mailer.txt
copy %1:read.me
copy %1:printdoc.bat
echo
echo Installation is now complete. To run DaLabeler, place floppy disk in
echo disk drive and type DL4 then press enter.
echo
echo
goto ENDD
:doHard
echo
echo
echo Warning: This batch file makes a subdirectory called DaLabler on the
echo target drive %2. Press CTRL-C to abort.
echo
echo
echo Ensure that DaLabeler is in Drive %1
echo
pause
%2:
CD \
if exist %2:\DaLabler\*.* goto Part2
mkdir DaLabler
:Part2
cd DaLabler
echo
copy %1:dalab*.*
copy %1:dl4*.*
copy %1:mailer.txt
copy %1:read.me
copy %1:printdoc.bat
echo
echo Now creating batch file DL.BAT in the root directory of drive C
echo
echo ECHO OFF> C:\DL.BAT
echo CLS>> C:\DL.BAT
echo SET DL4=%2:\DaLabler\>> C:\DL.BAT
echo %2:\DaLabler\DL4 %%1>> C:\DL.BAT
echo SET DL4=>> C:\DL.BAT
echo
echo Installation completed. To run DaLabeler type DL at the DOS prompt.
:ENDD
echo
echo
echo DaLabeler is easy to use, but please refer to the documentation for
echo information about inputting neccessary data for configuration. To read
echo the documentation for DaLabeler, read the file DL4.DOC. You may print
echo the documentation file to your printer by typing PRINTDOC at the
echo command line prompt.
echo
echo If you encounter any problems, please refer to the section in
echo the documentation file whiles lists several tips and suggestions for
echo using DaLabeler.
:ENDALL
echo
echo