|
[这个贴子最后由allpurpose在 2005/12/03 10:05am 第 1 次编辑]
如题,我自己做个img引导到dos,但在dos运行上面两个程序提示出错。错误如图.在请教一下 在dos有啥好分区工具和格式化工具,最好是支持ntfs格式的.
[UploadFile=CEB4C3FCC3FB_1133575193.gif]
这是config.sys的代码- [menu]
- menuitem=CD, Start computer with CD-ROM support.
- menuitem=NOCD, Start computer without CD-ROM support.
- menudefault=CD,30
- menucolor=7,0
- [CD]
- device=himem.sys /testmem:off
- DEVICEHIGH=UDMA.SYS
- DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
- [NOCD]
- device=himem.sys /testmem:off
- [COMMON]
- files=60
- buffers=20
- dos=high,umb
- stacks=9,256
- lastdrive=z
复制代码 这是AUTOEXEC.BAT的代码- @ECHO OFF
- set EXPAND=YES
- SET DIRCMD=/O:N
- SMARTDRV
- xmsdsk 4096 /y > NUL
- cls
- findramd >nul
- path=%RAMDRIVE%\;a:\
- copy command.com %RAMDRIVE%\ > NUL
- set comspec=%RAMDRIVE%\command.com
- copy extract.exe %RAMDRIVE%\ > NUL
- %RAMDRIVE%\
- extract /y /e /l %RAMDRIVE% a:\ebd.cab > NUL
- cls
- set temp=c:\
- set tmp=c:\
- IF "%config%"=="NOCD" GOTO QUIT
- LH SHSUCDX /D:?IDE-CD /D:?USB-CD > nul
- findcd >nul
- ECHO.
- echo Your ramdrive is %RAMDRIVE%
- echo Your CDrom is %CDROM%
- :QUIT
复制代码 |
|