home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
DATABASE
/
DDFILE6A.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-03-10
|
995b
|
49 lines
ECHO OFF
CLS
IF /%1 == / GOTO ERROR
IF %1 == A: GOTO ERROR
IF %1 == a: GOTO ERROR
IF %1 == B: GOTO ERROR
IF %1 == b: GOTO ERROR
IF %1 == C: GOTO HARD
IF %1 == c: GOTO HARD
IF %1 == D: GOTO HARD
IF %1 == d: GOTO HARD
IF %1 == E: GOTO HARD
IF %1 == e: GOTO HARD
IF %1 == F: GOTO HARD
IF %1 == f: GOTO HARD
GOTO ERROR
:HARD
ECHO Installing DOCTOR DATA File to the %1 drive.
ECHO .
MD %1\DDFILE
COPY DDFILE.* %1\DDFILE
IF NOT EXIST %1\DDFILE\SAMPLE.DBF COPY SAMPLE.* %1\DDFILE
COPY PRN_LIST.DBF %1\DDFILE
COPY *.TXT %1\DDFILE
COPY MANUAL %1\DDFILE
COPY PRNDOCS.BAT %1\DDFILE
CLS
ECHO .
ECHO To run DOCTOR DATA File,
ECHO type DDFILE press Enter.
ECHO .
ECHO To print the documentation,
ECHO ready your printer,
ECHO type PRNDOCS & press Enter.
ECHO .
ECHO Finished.
%1
CD\DDFILE
GOTO END
:ERROR
ECHO .
ECHO To install DOCTOR DATA File, type INSTALL X: press Enter
ECHO where X is the drive to install to i.e. INSTALL C:
ECHO .
:END