home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
graphic1
/
footbal2.lzh
/
SETUP1.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-09-22
|
3KB
|
81 lines
echo off
if not "%1"=="" goto SETUP
echo Command: Result:
echo Setup1 {source drive:} {system drive:} {\s} Load files from source
echo to system drive subdirectory
goto END
:SETUP
if not "%1"=="" if not "%2"=="" if not "%3"=="" goto OK
echo You must specify 3 SETUP1 parameters.
goto END
:OK
if exist %2config.bak echo ** ERROR ** %2CONFIG.BAK already exists. Erase %2CONFIG.BAK first.
if exist %2config.bak goto END
echo Source drive is %1
echo System drive is %2
echo System drive subdirectory is %3
if not exist %2%3\football.exe mkdir %2%3
dir %2%3
echo Press CTRL + C to not load files.
pause
copy %1readme.1st %2%3
copy %1footbal$.exe %2%3
copy %1football.dat %2%3
copy %1football.doc %2%3
copy %1footdoc.bat %2%3
copy %1FE.bat %2
copy %1football.bat %2
copy %1setup1.bat %2
copy %1setup2.bat %2
copy %1football.mod %2
copy %1FE1.bat %2
copy %1FE2.bat %2
copy %1footcode.bin %2
copy %1register.frm %2
copy %1sdn.txt %2
echo Files have been loaded to %2 and %2%3
dir %2\FE.bat
dir %2\football.bat
dir %2%3
pause
cls
echo You can add a RAM disk to your CONFIG.SYS.
if not exist %2\dos\vdisk.sys if not exist %2\dos\ramdrive.sys echo RAM disk software missing
if not exist %2\dos\vdisk.sys if not exist %2\dos\ramdrive.sys goto END
if exist %2\dos\ramdrive.sys echo DEVICE=\DOS\RAMDRIVE.SYS 16 512 16
if exist %2\dos\vdisk.sys echo DEVICE=\DOS\VDISK.SYS 16 512 16
echo will be add to CONFIG.SYS with your OK.
echo Your current CONFIG.SYS is listed below:
echo ----------------------------------------------------
type %2config.sys
echo ----------------------------------------------------
echo Press CTRL + C to leave CONFIG.SYS as is
pause
if exist config.new erase config.new
copy %2config.sys config.new
if exist %2\dos\ramdrive.sys echo DEVICE=\DOS\RAMDRIVE.SYS 16 512 16 >> config.new
if exist %2\dos\vdisk.sys echo DEVICE=\DOS\VDISK.SYS 16 512 16 >> config.new
cls
echo You can continue to execute to
echo instantly change the CONFIG.SYS data; or,
echo you can edit your CONFIG.SYS to include the following code,
echo displayed from the file CONFIG.NEW
echo ----------------------------------------------------
type config.new
echo ----------------------------------------------------
echo Press CTRL + C to cancel the update to CONFIG.SYS
pause
if exist %2config.bak echo ** ERROR ** %2CONFIG.BAK already exists. Erase %2CONFIG.BAK first.
if exist %2config.bak goto END
rename %2config.sys config.bak
echo Renaming the old CONFIG.SYS to CONFIG.BAK ...
copy config.new %2config.sys
erase config.new
echo ------------------------------------------------
echo Note your RAM disk designation when warm-started
echo ------------------------------------------------
echo Press ALT + CTRL + DEL to reset your machine
echo ------------------------------------------------
echo STEP1 complete ... Now execute STEP2 ..........
:END