home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
FINANCE
/
GEN7AC15.ZIP
/
MAININST.BAT
< prev
Wrap
DOS Batch File
|
1994-02-10
|
4KB
|
109 lines
@ECHO OFF
if '%1'=='' goto errorexit
if '%2'=='' goto errorexit
if not '%3'=='' goto cont
:errorexit
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@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 GEN7??15.EXE reside.
@ECHO * d: is the destination disk where the files should be installed.
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
goto batchexit
:cont
if '%3'=='\' goto rootdir
if not exist %2%3\nul goto nodir
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * The specified destination directory already exists.
@ECHO * Some of the current contents may be replaced, type Cntl-C to abort.
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
PAUSE
goto unzipit
:rootdir
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * Copying files to %2 root directory.
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
goto unzipit
:nodir
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * Directory %2%3 does not exist.
@ECHO * This directory will be created, type Cntl-C to abort.
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
PAUSE
MKDIR %2%3
:unzipit
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * Copying the GEN7 System Files and Data Files.
@ECHO * * * * * * * * Answer 'Yes' to any 'Overwrite' Questions * * * * * * *
COPY /V %1GEN7G15.EXE %2%3 >NUL
if exist %1GEN7%415.EXE goto copydata
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * Please insert the disk with the Data (GEN7%415.EXE).
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
PAUSE
:copydata
COPY /V %1GEN7%415.EXE %2%3 >NUL
if exist %1GEN7HD15.EXE goto copyhd
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * Please insert the disk with the GEN7 Help data (GEN7HD15.EXE).
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
PAUSE
:copyhd
COPY /V %1GEN7HD15.EXE %2%3 >NUL
%2
CD %3
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * Unpacking the files please wait...
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
GEN7G15
GEN7%415
GEN7HD15
if not '%4'=='VD' goto batchexit
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * Building *.VOI files from *.PCM files.
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
VOICEPCM
CALL UNPCKALL
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * Building the GEN7EV$$.VOC and GEN7EV$$.VDX files.
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
BUILDVOC
DEL *.VOI
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * Done unpacking.
:batchexit
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * To run the desktop type the following command:
@ECHO * G7
@ECHO * or
@ECHO * BOOTG7
if not '%4'=='TD' goto chkstudy
@ECHO * or
@ECHO * MATHTUTR
@ECHO * or
@ECHO * TIMETUTR
goto copyright
:chkstudy
if '%4'=='ND' goto prntstudy
if not '%4'=='OD' goto copyright
:prntstudy
@ECHO * or
@ECHO * BIBLE
:copyright
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@ECHO * This runs the GEN7 Desktop
@ECHO * Make sure CONFIG.SYS has FILES=40 or greater in it.
@ECHO * Check out the README files on this disk!
@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.
@ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * *
PAUSE
CALL G7