home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
util1
/
fastm41b.lzh
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-03-17
|
8KB
|
233 lines
ECHO OFF
CLS
ECHO ╔══════════════════════════════════════════════════╗
ECHO ║ fastmenu PLUS (TM) V4.1 INSTALL Drive C:\FAST ║
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 ║ copy will be moved to this directory. ║
ECHO ║ ║
ECHO ║ A .................. Install VGA Version ? ║
ECHO ║ B ....... Install CGA/Monochrome Version ? ║
ECHO ║ C ..... Change Existing Setup on C:\FAST ? ║
ECHO ╟──────────────────────────────────────────────────╢
ECHO ║ Enter The Letter A,B or C (ESC to Abort) ║
ECHO ╚══════════════════════════════════════════════════╝
:START1
CHOICE
IF ERRORLEVEL 27 GOTO END2
IF ERRORLEVEL 4 GOTO START1
IF ERRORLEVEL 3 GOTO RESET
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,B or C)? ║
ECHO ║ ║
ECHO ╟───────────────────────────────────────────────────╢
ECHO ║ Enter The Letter A,B or C (ESC to Abort) ║
ECHO ╚═══════════════════════════════════════════════════╝
:START2
CHOICE
IF ERRORLEVEL 27 GOTO END2
IF ERRORLEVEL 4 GOTO START2
IF ERRORLEVEL 3 GOTO LABELC
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\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:\install.bat c:\fast
copy a:\choice.com c:\fast
copy a:\config.* c:\fast
copy a:\fast.* c:\fast
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\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:\install.bat c:\fast
copy b:\choice.com c:\fast
copy b:\config.* c:\fast
copy b:\fast.* c:\fast
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
:LABELC
ECHO .
ECHO Working. Please Wait !!
ECHO .
if exist C:\FAST.BAT erase C:\FAST.BAT
if exist C:\BRUN45.EXE erase C:\BRUN45.EXE
if exist c:\fast\fastmenu.exe goto nomake3
md\fast
:nomake3
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 fast.bat c:\dos
if not exist c:\dos\command.com copy fast.bat c:\
if exist c:\dos\command.com copy brun45.exe c:\dos
if not exist c:\dos\command.com copy brun45.exe c:\
copy install.bat c:\fast
copy choice.com c:\fast
copy config.* c:\fast
copy fast.* c:\fast
copy *.ifo c:\fast
copy *.exe c:\fast
GOTO END1
:RESET
CLS
ECHO ╔═══════════════════════════════════════════════════╗
ECHO ║ Do you want: ║
ECHO ║ A ...........VGA Color Menus and Prompts ? ║
ECHO ║ B .......... CGA Color Menus and Prompts ? ║
ECHO ║ C ...... Black & White Menus and Prompts ? ║
ECHO ╟───────────────────────────────────────────────────╢
ECHO ║ Enter The Letter A,B or C (ESC to Abort) ║
ECHO ╚═══════════════════════════════════════════════════╝
:RESTART
CHOICE
IF ERRORLEVEL 27 GOTO END2
IF ERRORLEVEL 4 GOTO RESTART
IF ERRORLEVEL 3 GOTO B&W
IF ERRORLEVEL 2 GOTO CGACOLOR
:VGACOLOR
ECHO .
ECHO Working. Please Wait !!
ECHO .
copy config.cga config.ifo
copy fast.vga fast.bat
if exist c:\dos\command.com copy fast.bat c:\dos
if not exist c:\dos\command.com copy fast.bat c:\
GOTO END1
:CGACOLOR
ECHO .
ECHO Working. Please Wait !!
ECHO .
copy config.cga config.ifo
copy fast.cga fast.bat
if exist c:\dos\command.com copy fast.bat c:\dos
if not exist c:\dos\command.com copy fast.bat c:\
GOTO END1
:B&W
ECHO .
ECHO Working. Please Wait !!
ECHO .
copy config.b&w config.ifo
copy fast.cga fast.bat
if exist c:\dos\command.com copy fast.bat c:\dos
if not exist c:\dos\command.com copy fast.bat c:\
: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