home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
BUSINESS
/
MASS15_B.ZIP
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1994-01-01
|
3KB
|
145 lines
ECHO OFF
CLS
IF %1x==x GOTO NODRIVE
IF %2x==x GOTO NODRIVE
IF %1x==%2x GOTO NODRIVE
GOTO YESDRIVE
:NODRIVE
ECHO.
ECHO This routine is for installing `MASS Version 15' on a hard
ECHO disk. If you DO NOT have one, then you will not be
ECHO able to use this software. Sorry, but a floppy drive
ECHO version is not available.
ECHO.
ECHO The `MASS Version 15' installation routine requires that
ECHO you specify two drives. You must specify the drive you
ECHO are at now and the hard drive where you want it installed.
ECHO It must be either the C or D hard drive.
ECHO .
ECHO For example, INSTALL A: C: . . . Please try again.
GOTO END
:YESDRIVE
ECHO .
ECHO .
ECHO This routine is for installing `MASS Version 15' on a C or D
ECHO hard disk. If you do not want to do this at this time,
ECHO then press the "Ctrl" + "Break" keys together and then "Y"
ECHO to stop this batch file.
ECHO .
ECHO Otherwise . . .
ECHO .
PAUSE
GOTO TRY1
:TRY1
ECHO OFF
CLS
IF EXIST %1M151.EXE GOTO COPY1
ECHO.
ECHO.
ECHO The disk in Drive %1 is NOT disk 1. Insert MASS Disk 1 and . . .
ECHO.
ECHO.
PAUSE
GOTO TRY1
:COPY1
CD C:\
IF %2==C: GOTO CBAT
IF %2==c: GOTO CBAT
GOTO DBAT
:CBAT
COPY %1M15C.TXT C:\MASS.BAT
GOTO UPNEXT
:DBAT
COPY %1M15D.TXT C:\MASS.BAT
GOTO UPNEXT
:UPNEXT
%2
MD %2\MASS15
CD %2\MASS15
CLS
ECHO OFF
ECHO .
ECHO Note: Although `MASS Version 15' is being loaded into a sub-
ECHO directory called MASS15, you will be able to start the
ECHO program without changing directories simply by typing
ECHO MASS and pressing the Enter key.
ECHO .
PAUSE
ECHO OFF
CLS
ECHO.
ECHO Please wait while loading the program files from Disk 1 . . .
ECHO.
ECHO.
COPY %1*.* %2
ECHO.
CLS
ECHO .
ECHO.
ECHO Now remove Disk 1 and insert Disk 2, then . . .
ECHO.
ECHO .
PAUSE
GOTO TRY2
:TRY2
ECHO OFF
CLS
IF EXIST %1M152.EXE GOTO COPY2
ECHO.
ECHO.
ECHO The disk in Drive %1 is NOT disk 2. Insert MASS Disk 2 and . . .
ECHO.
ECHO.
PAUSE
GOTO TRY2
:COPY2
ECHO .
ECHO.
ECHO Please wait while loading the program files from Disk 2 . . .
ECHO.
ECHO.
COPY %1*.* %2
ECHO.
ECHO.
M151
ECHO.
ECHO.
M152
ECHO.
ECHO.
CD\
C:
CD\
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO That is it!!! You're finished. Now place your ORIGINAL
ECHO `MASS Version 15' disks away and use your hard drive copy
ECHO to manage your business's retail sales and stock inventory
ECHO operations.
ECHO .
ECHO Enter MASS to begin the program. Refer to the operating
ECHO instructions for more details on how to use the `MASS
ECHO Version 15' program.
ECHO.
ECHO.
GOTO END
:END