home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Walkthroughs & Flybys
/
WAITE_GROUP.bin
/
programs
/
setup.mdf
< prev
next >
Wrap
Text File
|
1993-05-16
|
4KB
|
143 lines
.SETUP.MDF
%Format a Bootable System Disk
*Return to Main Menu
?Load the prior menu
@wf.mdf
.
*Make a boot disk with this menu system installed
?Formats a bootable disk & copies demos to HD
+%t%\wf\what d
+if %what%==5 goto dos5
+if %what%==6 goto dos5
+if %what%==7 goto dos5
+if %what%==8 goto dos5
+echo Sorry, but the boot disk generation option is only available to users
+echo running DOS 5 or higher. In order to see these three memory hungry demos
+echo you are going to have to upgrade this PC to a later DOS version or get QEMM
+echo from Quarterdeck.
+echo:
+pause
+goto endboot
+:dos5
+echo Some of the best demos for the Sound Blaster require as much as 600k of
+echo memory. Since many PCs with CDROM drives installed have less than this
+echo amount free, the following procedure will copy them to the hard disk and
+echo create a diskette from which you can reboot your computer. You will need
+echo to have 11MB of free disk space to complete this procedure. To which
+echo drive would you like to copy these demos?
+echo:
+%t%\wf\what c "Please choose a drive, C-G are valid. Press Q to abort " CDEFGQ
+if %what%==q goto qulab
+if %what%==Q goto qulab
+set tem=%what%
+%c%\programs\free %tem%: 11000000 >nul
+if errorlevel 1 goto nospace
+echo:
+echo:
+%t%\wf\what m
+echo This computer has %what%k of free memory. If this amount is greater than
+echo 600k then you don't need to proceed because all of the demos will run
+echo with your CDROM drivers installed. Would you like continue with the
+%t%\wf\what c "process of creating a boot disk? (y/n)" yn
+if %what%==N goto qulab
+if %what%==n goto qulab
+echo:
+echo:
+echo The first step in creating the boot disk is to format a floppy. If you
+echo already have a floppy formatted with the /S option so that it is bootable,
+echo choose N. Be advised that choosing N will overwrite the AUTOEXEC.BAT and
+echo CONFIG.SYS files.
+echo:
+%t%\wf\what c "Would you like to format a floppy disk in drive A:(y/n) " yn
+if %what%==N goto s2
+if %what%==n goto s2
+echo:
+echo:
+c:\dos\format a: /s /v:WF
+goto s4
+:s2
+echo:
+echo:
+echo Insert formatted system floppy in drive A: now
+pause
+:s4
+echo:
+echo Creating CONFIG.SYS file on A:
+echo device=himem.sys >a:config.sys
+echo dos=high,umb >>a:config.sys
+echo device=emm386.exe 1024 ram frame=e000 >>a:config.sys
+echo:
+echo Creating AUTOEXEC.BAT on A:
+echo pause>a:autoexec.bat
+echo prompt $p$g>>a:autoexec.bat
+echo path=c:\dos>>a:autoexec.bat
+echo mem >>a:autoexec.bat
+echo pause >>a:autoexec.bat
+echo:
+echo Copying DOS files HIMEM.SYS and EMM386.EXE to A:
+copy c:\dos\himem.sys a:
+copy c:\dos\emm386.exe a:
+echo:
+echo About to copy 11MB of the best demos to %tem%:\WFTEMP. Press Y to proceed
+%t%\wf\what c "or N to abort (y/n) " YN
+echo:
+if %what%==n goto qulab
+if %what%==N goto qulab
+%tem%:
+md \wftemp
+cd \wftemp
+echo Copying files...
+copy %c%\sbdemos\future_c\unreal.exe
+copy %c%\sbdemos\future_c\panic.exe
+copy %c%\sbdemos\future_c\fishtro.exe
+copy %c%\sbdemos\witan\*.*
+copy %c%\sbdemos\cascada\*.*
+xcopy %c%\sbdemos\origin\*.* /s
+attrib -h *.*
+attrib -r *.*
+cd gamedat
+attrib -r *.*
+cd ..
+echo:
+echo Putting the menu system onto the boot floppy...
+%t%
+cd\wf
+copy floppy.mdf a:
+copy automenu.com a:
+copy auto.bat a:
+echo set t=%tem%: >>a:autoexec.bat
+echo call auto floppy.mdf >>a:autoexec.bat
+echo @echo off >>a:autoexec.bat
+echo echo You can reload the menu system from this floppy by entering WF >>a:autoexec.bat
+echo:
+echo Creating WF.BAT on A:
+echo auto floppy.mdf >a:wf.bat
+echo:
+echo Boot disk generation procedure complete. Press Ctrl-Alt-Del to proceed or
+echo press any key to return to Setup Menu
+pause
+goto endboot
+:nospace
+echo:
+echo You don't have enough space on drive %tem% to copy these demos, aborting
+echo:
+:qulab
+echo:
+echo Boot disk generation procedure aborted
+echo:
+echo:
+pause
+echo:
+:endboot
+set what=
+set tem=
+auto setup.mdf
.
*Show current memory usage
?Displays amount of RAM free in your system.
+%c%\programs\mem
+pause
+auto setup.mdf
.
#