home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
util1
/
fastm40b.lzh
/
FASTM402.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-02-13
|
7KB
|
176 lines
ECHO OFF
CLS
ECHO ╔══════════════════════════════════════════════════╗
ECHO ║ fastmenu PLUS (TM) V.4 INSTALL to Drive C: ║
ECHO ║ ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ ║
ECHO ║ NOTE ! This batch file will create a new ║
ECHO ║ directory called 'FAST' on your hard drive. ║
ECHO ║ After creating this directory, all the ║
ECHO ║ necessary files from your distribution ║
ECHO ║ disk(s) will be copied to this directory. ║
ECHO ║ ║
ECHO ║ A .................. Install VGA Version ? ║
ECHO ║ B ....... Install CGA/Monochrome Version ? ║
ECHO ╟──────────────────────────────────────────────────╢
ECHO ║ Enter The Letter A or B (ESC to Abort) ║
ECHO ╚══════════════════════════════════════════════════╝
:START1
CHOICE
IF ERRORLEVEL 27 GOTO END2
IF ERRORLEVEL 3 GOTO START1
IF ERRORLEVEL 2 GOTO CGA
:VGA
ECHO .
ECHO Working. Please Wait !!
ECHO .
copy config.cga config.ifo
copy fast.vga fast.bat
GOTO DRIVE
:CGA
ECHO .
ECHO Working. Please Wait !!
ECHO .
copy fast.cga fast.bat
CLS
ECHO ╔═══════════════════════════════════════════════════╗
ECHO ║ Do you want: ║
ECHO ║ A .............. Color Menus and Prompts ? ║
ECHO ║ B ...... Black & White Menus and Prompts ? ║
ECHO ╟───────────────────────────────────────────────────╢
ECHO ║ Enter The Letter A or B (ESC to Abort) ║
ECHO ╚═══════════════════════════════════════════════════╝
:START3
CHOICE
IF ERRORLEVEL 27 GOTO END2
IF ERRORLEVEL 3 GOTO START3
IF ERRORLEVEL 2 GOTO BLACK
:COLOR
ECHO .
ECHO Working. Please Wait !!
ECHO .
copy config.cga config.ifo
GOTO DRIVE
:BLACK
ECHO .
ECHO Working. Please Wait !!
ECHO .
copy config.b&w config.ifo
:DRIVE
CLS
ECHO ╔═══════════════════════════════════════════════════╗
ECHO ║ ║
ECHO ║ What Drive Are You Installing From (A or B)? ║
ECHO ║ ║
ECHO ╟───────────────────────────────────────────────────╢
ECHO ║ Enter The Letter A or B (ESC to Abort) ║
ECHO ╚═══════════════════════════════════════════════════╝
:START2
CHOICE
IF ERRORLEVEL 27 GOTO END2
IF ERRORLEVEL 3 GOTO START2
IF ERRORLEVEL 2 GOTO LABELB
:LABELA
ECHO .
ECHO Working. Please Wait !!
ECHO .
c:
cd\
if exist FAST.BAT erase FAST.BAT
if exist BRUN45.EXE erase BRUN45.EXE
if exist c:\fast\fastmenu.exe goto nomake
md\fast
:nomake
cd\fast
if exist c:\fast\fasthelp.001 erase c:\fast\fasthelp.001
if exist c:\fast\fasthelp.002 erase c:\fast\fasthelp.002
if exist c:\fast\fasthelp.003 erase c:\fast\fasthelp.003
if exist c:\fast\fasthelp.004 erase c:\fast\fasthelp.004
if exist c:\fast\fasthelp.005 erase c:\fast\fasthelp.005
if exist c:\fast\fasthelp.006 erase c:\fast\fasthelp.006
if exist c:\fast\fasthelp.007 erase c:\fast\fasthelp.007
if exist c:\fast\fasthelp.008 erase c:\fast\fasthelp.008
if exist c:\fast\fasthelp.009 erase c:\fast\fasthelp.009
if exist c:\fast\fasthelp.010 erase c:\fast\fasthelp.010
if exist c:\fast\mouse.ifo erase c:\fast\mouse.ifo
if exist c:\fast\fastrun.exe erase c:\fast\fastrun.exe
if exist c:\fast\fastlogo.ifo erase c:\fast\fastlogo.ifo
if exist c:\fast\master.dat erase c:\fast\master.dat
if exist c:\dos\command.com copy a:\fast.bat c:\dos
if not exist c:\dos\command.com copy a:\fast.bat c:\
if exist c:\dos\command.com copy a:\brun45.exe c:\dos
if not exist c:\dos\command.com copy a:\brun45.exe c:\
copy a:\*.ifo c:\fast
copy a:\*.exe c:\fast
cls
ECHO .
ECHO Insert fastmenu PLUS Disk #2 into Drive A:
ECHO .
pause
copy a:\*.exe c:\fast
GOTO END1
:LABELB
ECHO .
ECHO Working. Please Wait !!
ECHO .
c:
cd\
if exist FAST.BAT erase FAST.BAT
if exist BRUN45.EXE erase BRUN45.EXE
if exist c:\fast\fastmenu.exe goto nomake2
md\fast
:nomake2
cd\fast
if exist c:\fast\fasthelp.001 erase c:\fast\fasthelp.001
if exist c:\fast\fasthelp.002 erase c:\fast\fasthelp.002
if exist c:\fast\fasthelp.003 erase c:\fast\fasthelp.003
if exist c:\fast\fasthelp.004 erase c:\fast\fasthelp.004
if exist c:\fast\fasthelp.005 erase c:\fast\fasthelp.005
if exist c:\fast\fasthelp.006 erase c:\fast\fasthelp.006
if exist c:\fast\fasthelp.007 erase c:\fast\fasthelp.007
if exist c:\fast\fasthelp.008 erase c:\fast\fasthelp.008
if exist c:\fast\fasthelp.009 erase c:\fast\fasthelp.009
if exist c:\fast\fasthelp.010 erase c:\fast\fasthelp.010
if exist c:\fast\mouse.ifo erase c:\fast\mouse.ifo
if exist c:\fast\fastrun.exe erase c:\fast\fastrun.exe
if exist c:\fast\fastlogo.ifo erase c:\fast\fastlogo.ifo
if exist c:\fast\master.dat erase c:\fast\master.dat
if exist c:\dos\command.com copy b:\fast.bat c:\dos
if not exist c:\dos\command.com copy b:\fast.bat c:\
if exist c:\dos\command.com copy b:\brun45.exe c:\dos
if not exist c:\dos\command.com copy b:\brun45.exe c:\
copy b:\*.ifo c:\fast
copy b:\*.exe c:\fast
cls
ECHO .
ECHO Insert fastmenu PLUS Disk #2 into Drive B:
ECHO .
pause
copy b:\*.exe c:\fast
GOTO END1
:END1
cd\
CLS
ECHO ╔═══════════════════════════════════════════════════╗
ECHO ║ fastmenu PLUS Installation Completed ║
ECHO ║ ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ ║
ECHO ║ NOTE ! For the fastmenu application to ║
ECHO ║ operate properly, you must have a path ║
ECHO ║ statement to your ROOT directory and your ║
ECHO ║ DOS directory or the directory your DOS ║
ECHO ║ files are in, This path statement should be ║
ECHO ║ located in your AUTOEXEC.BAT file. ║
ECHO ║ Example: path=c:\;c:\dos ║
ECHO ║ Also if you want fastmenu to automatically ║
ECHO ║ startup when you turn on your computer, you ║
ECHO ║ will need to add 'FAST' as the last line or ║
ECHO ║ statement in the AUTOEXEC.BAT file. ║
ECHO ╟───────────────────────────────────────────────────╢
ECHO ║ To start fastmenu, at the DOS prompt from ║
ECHO ║ any directory type: [ FAST ] enter. ║
ECHO ╚═══════════════════════════════════════════════════╝
GOTO END
:END2
CLS
ECHO fastmenu PLUS Installation Aborted !
:END