批处理文件修改的疑问
启动盘,由于本来应该位于第一张盘\ghost里的ghost.exe文件过大,所以才生出了第二张启动盘,盘内文件为\ghost\ghost.exe,于是批处理文件的内容为:
@echo off
SET TZ=GHO-08:00
prompt $p$g
\net\netbind.com
MOUSE.COM
echo Loading...
if %config% == FROMFLPY goto FLPYBOOT
if %config% == FROMCD goto CDBOOT
goto FAILED
:FLPYBOOT
echo Insert Ghost boot disk 2 (containing Ghost.exe)
pause
if exist a:\ghost\ghost.exe goto GHOSTFND
goto FLPYBOOT
:CDBOOT
echo Insert Ghost boot disk 2 (containing Ghost.exe)
echo To run Ghost.exe from a hard disk or CD, press Ctrl-C at the following prompt
echo then change to the appropriate drive letter and type 'Ghost'
pause
if not exist b:\ghost\ghost.exe goto CDBOOT
b:
goto GHOSTFND
:GHOSTFND
cd \ghost
echo Loading...
GHOST.EXE -JS=5 -forceusb -force1394
goto END
:FAILED
echo Unknown boot menu selection
goto END
:END
现在我找到了方法将第二张盘里的ghost.exe文件放回第一张的\ghost路径下,修改autoexec.bat时,是不是改成
@echo off
SET TZ=GHO-08:00
prompt $p$g
\net\netbind.com
MOUSE.COM
echo Loading...
if %config% == FROMFLPY goto FLPYBOOT
if %config% == FROMCD goto CDBOOT
goto GHOSTFND
:GHOSTFND
cd \ghost
echo Loading...
GHOST.EXE -JS=5 -forceusb -force1394
goto END
:FAILED
echo Unknown boot menu selection
goto END
:END
这个样子就可以了?
因为涉及到刻盘,而我又没有把握,所以还请多多指点,谢谢。