|
当然是放在内存盘好啊:
config.sys:
[menu]
menuitem=IDECD, Start computer with IDE CD-ROM support.
menuitem=SATACD, Start computer with SATA CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
menudefault=IDECD,10
menucolor=7,0
[IDECD]
device=dos98\himem.sys /testmem:off
device=dos98\oakcdrom.sys /D:mscd001
device=dos98\btdosm.sys
device=dos98\flashpt.sys
device=dos98\btcdrom.sys /D:mscd001
device=dos98\aspi2dos.sys
device=dos98\aspi8dos.sys
device=dos98\aspi4dos.sys
device=dos98\aspi8u2.sys
device=dos98\aspicd.sys /D:mscd001
[SATACD]
device=dos98\himem.sys /testmem:off
device=dos98\gcdrom.sys /D:satacd01 /C0
device=dos98\gcdrom.sys /D:satacd02 /C1
device=dos98\gcdrom.sys /D:satacd03 /C2
[NOCD]
device=dos98\himem.sys /testmem:off
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=dos98\ramdrive.sys /E 12288
lastdrive=z
autoexec.bat
@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
cls
call c:\dos98\setramd.bat %LglDrv%
set temp=%RAMD%:\
set tmp=%RAMD%:\
path=%RAMD%:\;c:\dos98\;
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy c:\dos98\extract.exe %RAMD%:\ > NUL
:EXT
%RAMD%:\extract /y /e /l %RAMD%: c:\dos98\ebd.cab > NUL
%RAMD%:\extract /y /e /l %RAMD%: c:\dos98\pqm.cab > NUL
echo The diagnostic tools & PQM were successfully loaded to drive %RAMD%.
echo.
IF "%config%"=="IDECD" GOTO IDECD
IF "%config%"=="SATACD" GOTO SATACD
IF "%config%"=="NOCD" GOTO QUIT
GOTO QUIT
:IDECD
LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:%CDROM%
echo.
GOTO QUIT
:SATACD
LH %ramd%:\shsucdx.com /D:?SATACD01 /D:?SATACD02 /D:?SATACD03
GOTO QUIT
:QUIT
xcopy c:\dos.bat\*.* %RAMD%:\ > NUL
xcopy c:\dos.gho\*.* %RAMD%:\ > NUL
xcopy c:\dos.pqi\*.* %RAMD%:\ > NUL
echo The PQI & GHO tools were successfully loaded to drive %RAMD%.
echo.
rem clean up environment variables
set CDROM=
set LglDrv=
smartdrv
%RAMD%:
CALL Q.bat |
|