@ECHO OFF
IF NOT EXIST ML_PKG.EXE GOTO NOFILE
ECHO:
ECHO      This installation routine will create an \ML subdirectory
IF /%1==/ GOTO DEFAULT
ECHO      on drive %1 and copy all files into that area.
GOTO CONT
:NOFILE
ECHO:
ECHO  There is a file missing from the package: ML_PKG.EXE
ECHO:
ECHO  Installation cannot be done.  Please Contact PCS at
ECHO  PO Box 7638, Metairie, LA 70010; BBS: 504-835-0085
ECHO:
ECHO  to obtain the latest and complete version of Master*List.
ECHO:
GOTO END
:DEFAULT
ECHO      on the DEFAULT drive and copy all files into that area.
:CONT
ECHO:
ECHO      If you wish to install Master*List on another drive, use
ECHO      the format:  INSTALL d:   where d: corresponds to the drive
ECHO      you to which you wish to copy the Master*List files.
ECHO:
ECHO:
ECHO Press CTRL-BREAK to abort or
PAUSE
MD %1\ML
IF EXIST CONFIG.DAT COPY CONFIG.DAT %1\ML
COPY *.DOC %1\ML
ML_PKG.EXE %1\ML
%1
CD %1\ML
CLS
ECHO ------------------------------------------------------------------------
ECHO:
ECHO                        Installation is complete!
ECHO:
ECHO     To start Master*List, from DOS type: %1
ECHO                                          CD\ML
ECHO                                          ML
ECHO:
ECHO ------------------------------------------------------------------------
ECHO:
ECHO  NOTE:   Please make sure you have the following line in your
ECHO          CONFIG.SYS file:      FILES=30   (or higher)
ECHO:
ECHO     Master*List may not run properly without adequate FILES defined.
ECHO ------------------------------------------------------------------------
ECHO:
:END