请教关于path no found的问题!(已解决)
本贴问题已解决,谢谢各位,同时谢谢EZB刻录家园!
我是一位新手及超级菜鸟,在这里刚刚开始学习制作光碟的基础。
学习了几位大虾的置顶贴之后,自己也想制作一个关于ghost全自动恢复的光碟。
其中修改了autoexec.bat与config.sys如下:
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 setramd.bat %LglDrv%
set temp=c:\
set tmp=c:\
path=%RAMD%:\;a:\;%CDROM%:\
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
pause
GOTO ERROR
:EXT
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
echo The diagnostic tools were successfully loaded to drive %RAMD%.
echo.
IF "%config%"=="SETUP_CD" GOTO HUIFU1
:HUIFU1
LH %ramd%:\MSCDEX.EXE /D:oemcd001 /L:%CDROM%
%CDROM%:\ghost.exe -clone,mode=pload,src=%CDROM%:\xp.gho:1,dst=1:1 -
sure -rb
:QUIT
echo To get help, type HELP and press ENTER.
echo.
rem clean up environment variables
set CDROM=
set LglDrv=
*******************************************************************
config.sys
*******************************************************************
[menu]
menuitem=SETUP_CD, Ghsot Huifu from CDROM to C Disk
menudefault=SETUP_CD,30
menucolor=7,0
[SETUP_CD]
device=himem.sys /testmem:off
device=oakcdrom.sys /D:oemcd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:oemcd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:oemcd001
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=ramdrive.sys /E 2048
lastdrive=z
*******************************************************************
但用虚拟机运行制成的ISO总是提示出错:
Bad command or file name
File not found
Path not found - :\COMMAND.COM
Path not found - :\EXTRACT.EXE
Bad command or file name
请教各位高手,帮我解决它吧,不尽感谢!
[ 本帖最后由 long_3390 于 2007-1-25 12:36 编辑 ]