home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
GLEN
/
PHONICS2.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-08-23
|
4KB
|
163 lines
echo off
cls
ECHO STONE & ASSOCIATES Program Installation
ECHO Ver 1.0 (c)copyright 1988
ECHO
if EXIST a:place.bat goto OK
ECHO ┌───
ECHO │ The PROGRAM diskette for ....
ECHO │
ECHO │ "Phonic Plus"
ECHO │
ECHO │ MUST be in drive A: to install
ECHO │ properly! Check and try again....
ECHO └───
ECHO
goto abort
:OK
ECHO ┌───
ECHO │ If your computer uses the HERCULES
ECHO │ monochrome graphics card...enter H
ECHO │
ECHO │ or if your computer is using an IBM
ECHO │ compatible graphics card...enter I
ECHO └───
ECHO
option i1I1h0H0-Using HERCULES or IBM graphics? (H/I)
ECHO
if errorlevel 2 goto abort
if errorlevel 1 goto ibmcga
echo echo off > a:PX.bat
echo cls >> a:PX.bat
echo simcga >> a:PX.bat
echo cls >> a:PX.bat
copy A:PX.bat a:PXGAMES.bat /v >NUL
copy A:PX.bat a:PHONICS.bat /v >NUL
echo PHONMENU >> a:PX.bat
echo rmvcga >> a:PX.bat
echo cls >> a:PX.bat
echo PXMENU >> a:PXGAMES.bat
echo rmvcga >> a:PXGAMES.bat
echo cls >> a:PXGAMES.bat
echo :cont >> a:PHONICS.bat
echo BOTHMENU >> a:PHONICS.bat
echo if EXIST marker goto cont >> a:PHONICS.bat
echo rmvcga >> a:PHONICS.bat
echo cls >> a:PHONICS.bat
goto fdhd
:IBMCGA
echo color > a:PX.bat
echo PHONMENU >> a:PX.bat
echo color > a:PXGAMES.bat
echo PXMENU >> a:PXGAMES.bat
echo echo off > a:PHONICS.bat
echo color >> a:PHONICS.bat
echo :cont >> a:PHONICS.bat
echo BOTHMENU >> a:PHONICS.bat
echo if EXIST marker goto cont >> a:PHONICS.bat
echo cls >> a:PHONICS.bat
:FDHD
if EXIST PHONMENU.exe if EXIST PXMENU.exe copy A:PHONICS.bat autoexec.bat
if NOT EXIST PHONMENU.exe if EXIST PXMENU.exe copy A:PXGAMES.bat autoexec.bat
if NOT EXIST PXMENU.exe if EXIST PHONMENU.exe copy A:PX.bat autoexec.bat
ECHO ┌───
ECHO │ If you wish to install the program
ECHO │
ECHO │ "Phonics Plus"
ECHO │
ECHO │ on your hard disk ...........enter 1
ECHO │
ECHO │ on this floppy disk and you have a
ECHO │ hard disk ................enter 2
ECHO │
ECHO │ on this floppy disk and you DO NOT
ECHO │ have a hard disk .........enter 3
ECHO │
ECHO │ terminate the INSTALL .......enter 4
ECHO └───
ECHO
option 44222231311010-WHICH INSTALL? (1, 2, 3 or 4)
ECHO
if errorlevel 3 goto abort
if errorlevel 2 goto diskb
if errorlevel 1 goto diskc
REM hard disk installation
cls
ECHO ┌───
ECHO │ The hard disk directory where the
ECHO │ PROGRAM is to be placed MUST be
ECHO │ specified.
ECHO │
ECHO │ You specify a directory by typing
ECHO │ PLACE followed by the directory name.
ECHO │ If you want to install on drive D
ECHO │ rather than C then add D at the end.
ECHO │
ECHO │ PLACE (directory)
ECHO │ PLACE (directory) D
ECHO │
ECHO │ If you just enter PLACE and key
ECHO │ return with no name given, STONE
ECHO │ will be the directory name used and
ECHO │ the drive will be C.
ECHO └───
ECHO
goto end
:DISKB ---install system from hard disk
C:
goto movesys
:DISKC ---install system from floppy disk
ECHO ┌───
ECHO │ If you have two floppy disk drives
ECHO │ make sure the ORGINAL program disk is
ECHO │ in A and insert your DOS disk in B.
ECHO │
ECHO │ IF YOU HAVE ONLY ONE FLOPPY DRIVE
ECHO │ THEN YOU MUST REMEMBER THAT THE
ECHO │ DISK FOR DRIVE A IS THE ORGINAL
ECHO │ PROGRAM DISKETTE AND THE DISK FOR
ECHO │ DRIVE B IS YOUR DOS DISKETTE.
ECHO │ BE PATIENT. YOU WILL BE ASKED TO
ECHO │ SWITCH DISKETTES SEVERAL TIMES.
ECHO └───
pause
if errorlevel 28 goto cont
if errorlevel 27 goto abort
:CONT
B:
:MOVESYS
erase a:extra.*
CD\
SYS A: > NUL
COPY COMMAND.COM A: /v
A:
ECHO
ECHO INSTALLATION IS COMPLETE.
ECHO
ECHO ┌───
ECHO │ "Phonics Plus"
ECHO │ will now start automatically when
ECHO │ the computer is turned on or reset
ECHO │ while this diskette is in drive A.
ECHO │
ECHO │ You may also start the program
ECHO │ when at the DOS prompt by typing...
if EXIST PHONMENU.exe if EXIST PXMENU.exe ECHO │ "PHONICS"
if NOT EXIST PHONMENU.exe if EXIST PXMENU.exe ECHO │ "PXGAMES"
if NOT EXIST PXMENU.exe if EXIST PHONMENU.exe ECHO │ "PX"
ECHO └───
ECHO
goto end
:abort
ECHO
ECHO TERMINATED - INSTALL NOT COMPLETE
:END