『楼 主』:
config.sys出错,请各位帮看一下 拜托大家拉
这是我写的启动盘 可是在虚拟机中启动出了好多错
我是刚学dos ,好多都弄不清楚,麻烦大家给看一下
@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
xmsdsk 4096 /y
PAUSe
findramd
path=%RAMDRIVE%\;a:\
path
copy command.com %RAMDRIVE%\ > NUL
set comspec=%RAMDRIVE%\command.com
copy extract.exe %RAMDRIVE%\ > NUL
%RAMDRIVE%\
extract /y /e /l %RAMDRIVE% a:\tools.cab > NUL
set temp=c:\
set tmp=c:\
cls
if "%config%"=="m1" GOTO m1cd
if "%config%"=="m2" goto m2usb
if "%config%"=="m3" goto m3ntfs
if "%config%"=="m4" goto QUIT
if "%config%"=="m5" goto m5chs
:m1cd
LH SHSUCDX /D:?IDE-CD /D:?USB-CD > nul
findcd >nul
goto common
:m2usb
goto common
:m3ntfs
NTFS4DOS.EXE
goto common
:m5chs
call chs.bat
goto common
:common
LH %RAMDRIVE%\DOSKEY
LH %RAMDRIVE%\CTMOUSE
SMARTDRV.EXE
puse
FINDRAMD.EXE
FINDCD.EXE
::=======================================
::= Your Ramdrive is %RAMDRIVE% =
::= your CD-ROM is %CDROM% =
::= =
::=======================================
ECHO.
ECHO.
:: if you have a graphics FileManager please
:: input "vc.bat" ,and then Enter
:QUIT
[menu]
menuitem=m1, Start DOS with CD-ROM support (emm386 mode).
menuitem=m2, Start DOS with CD-ROM and USB drivers (emm386 mode)
menuitem=m3, Start DOS with CD-ROM and ntfs drivers (emm386 mode)
menuitem=m4, Start DOS ( No any drivers )
menuitem=m5, View this DOS Readle file ( with chinses)
menudefault=CD,30
menucolor=7,0
[m1]
device=a:\drivers\himem.sys /testmem:off
DEVICE=a:\drivers\EMM386.EXE NOEMS X=D000
DEVICEHIGH=a:\drivers\UDMA.SYS
INCLUDE CD
[m2]
device=a:\drivers\himem.sys /testmem:off
DEVICE=a:\drivers\EMM386.EXE NOEMS X=D000
DEVICEHIGH=a:\drivers\UDMA.SYS
INCLUDE USB
[m3]
device=a:\drivers\himem.sys /testmem:off
DEVICE=a:\drivers\EMM386.EXE NOEMS X=D000
DEVICEHIGH=a:\drivers\UDMA.SYS
[m4]
[m5]
device=a:\drivers\himem.sys /testmem:off
DEVICE=a:\drivers\EMM386.EXE NOEMS X=D000
DEVICEHIGH=a:\drivers\UDMA.SYS
[USB]
DEVICE=a:\drivers\DUSE.EXE INT EMU CDW=3 DDW=3 XFER=32 DRIVES=2 CDD=USB-CD OBAR=0xD000
DEVICE=a:\drivers\USBASPI.SYS /R
DEVICEHIGH=a:\drivers\DI1000DD.SYS
DEVICEHIGH=a:\drivers\USBCD.SYS /D:USB-CD
DEVICE=a:\drivers\ASPIOHCI.SYS /INT /ALL
DEVICE=a:\drivers\ASPIUHCI.SYS /INT /ALL
[CD]
DEVICEHIGH=a:\drivers\VIDE-CDD.SYS /D:IDE-CD
::DEVICEHIGH=a:\drivers\ASPICD.SYS /D:SCSI-CD
::DEVICEHIGH=a:\drivers\CLOAKING.EXE
[COMMON]
SET TMP=C:\
SET TEMP=C:\
DOS=HIGH,UMB,AUTO
NUMLOCK=OFF
FCBSHIGH=4,0
FILESHIGH=30
BUFFERSHIGH=30,0
LASTDRIVEHIGH=32
STACKSHIGH=9,256
[code] [ Last edited by allpurpose on 2006-1-6 at 18:28 ]
附件
1: s.jpg.gif (2006-1-6 18:27, 2.88 K, 下载附件所需积分 1 点
,下载次数: 1)
|