@ECHO OFF
if '%1'=='' goto errorexit
if '%2'=='' goto errorexit
if not '%3'=='' goto cont
:errorexit
@ECHO Syntax: INSTALL s: d: \DIRECTORY
@ECHO   Where \DIRECTORY is the destination directory to install the files.
@ECHO   And s: is the source disk where INSTALL.BAT and GEN7A13.EXE reside.
@ECHO       d: is the destination disk where the files should be installed.
goto batchexit
:cont
if not exist %2%3\nul goto nodir
@ECHO The specified destination directory already exists.
@ECHO Some of the current contents may be replaced.
PAUSE
goto unzipit
:nodir
@ECHO Directory %2%3 does not exist.
@ECHO This directory will be created, type Cntl-C to abort.
PAUSE
MKDIR %2%3
:unzipit
COPY /V %1GEN7A13.EXE %2%3
%2
CD %3
@ECHO Unpacking the files please wait...
GEN7A13
@ECHO Done unpacking.
COPY /V GEN7.CFG GEN7CFG.SAV
:batchexit
@ECHO To run the desktop type the following command:
@ECHO         G7
@ECHO This runs the GEN7 Desktop with the Accountant module.
@ECHO Make sure CONFIG.SYS has FILES=30 or greater in it.
@ECHO The directory GEN7 resides in must be in the path.
@ECHO Only one set of GEN7.CFG, GEN7????.CAL and GEN7.HLP files should exist.
@ECHO A backup copy of GEN7.CFG is in GEN7CFG.SAV (COPY /V GEN7CFG.SAV GEN7.CFG).
@ECHO  
@ECHO Please register to support the Shareware concept.
@ECHO This program may be copied unmodified for a nominal duplication fee.
@ECHO Evaluation version, not for resale.
@ECHO  
@ECHO These programs are copyrighted by:
@ECHO   Synergistic Consultants, Incorporated.
@ECHO     Post Office Box 18888
@ECHO     Huntsville, AL 35804-8888
@ECHO     1-800-828-8384
@ECHO     Compuserve ID: 71232, 257
@ECHO Press Cntl-C to avoid running the desktop.
PAUSE
CALL G7

