为什么我做的启动盘老是显示这个呀
Bad command or file name
Path not found - :\COMMAND.COM
File not found - extract.exe
File not found - readme.txt
Bad command or file name
File not found
Invalid drive specification
那为大哥可以告诉呀,我的bat文件内容是:@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
cls
set temp=c:\
set tmp=c:\
path=a:\
IF "%config%"=="NOCD" GOTO QUIT
LH MSCDEX.EXE /D:oemcd001 /L:D
echo.
IF "%config%"=="SETUP_CD" goto AUTOSETUP
GOTO QUIT
:AUTOSETUP
set CDROM=FOO23
FINDCD.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:\;%CDROM%:\
"%CDROM%:"
cd \ezboot
ghost.exe -rb -sure -clone,mode=pload,src=system.gho:1,dst=1:1
echo.
goto QUIT
:NOCDROM
echo.
echo The Windows 98 Setup files were not found.
echo.
:QUIT
启动一个exe文件到底怎么弄呀,我看了很多贴子了,按上面说的,怎么不行呀 作者: shadowman 时间: 2003-8-17 04:35 标题: 大哥,大姐快帮帮小弟!!!
修改如下:
config.sys:
[menu]
menuitem=SETUP_CD, RUN GHOST FROM CD-ROM.
menuitem=NOCD, Start computer without CD-ROM support.
menudefault=SETUP_CD,30
menucolor=7,0
[SETUP_CD]
device=himem.sys /testmem:off
device=oakcdrom.sys /D:mscd001
[NOCD]
device=himem.sys /testmem:off
[COMMON]
files=60
buffers=10
dos=high,umb
stacks=9,256
lastdrive=z
autoexec.bat:
@echo off
set EXPAND=YES
SET DIRCMD=/O:N
cls
set temp=c:\
set tmp=c:\
path=a:\
IF "%config%"=="NOCD" GOTO QUIT
LH MSCDEX.EXE /D:mscd001 ←────注意這裡要和config.sys中設置對應
IF "%config%"=="SETUP_CD" goto AUTOSETUP
GOTO QUIT
:AUTOSETUP
FINDCD.EXE
if errorlevel=255 goto NOCDROM
if errorlevel=1 set cdrom=a
if errorlevel=2 set cdrom=b
if errorlevel=3 set cdrom=c
if errorlevel=4 set cdrom=d
if errorlevel=5 set cdrom=e
if errorlevel=6 set cdrom=f
if errorlevel=7 set cdrom=g
if errorlevel=8 set cdrom=h
if errorlevel=9 set cdrom=i
if errorlevel=10 set cdrom=j
if errorlevel=11 set cdrom=k
if errorlevel=12 set cdrom=l
if errorlevel=13 set cdrom=m
if errorlevel=14 set cdrom=n
if errorlevel=15 set cdrom=o
if errorlevel=16 set cdrom=p
if errorlevel=17 set cdrom=q
if errorlevel=18 set cdrom=r
if errorlevel=19 set cdrom=s
if errorlevel=20 set cdrom=t
if errorlevel=21 set cdrom=u
if errorlevel=22 set cdrom=v
if errorlevel=23 set cdrom=w
if errorlevel=24 set cdrom=x
if errorlevel=25 set cdrom=y
if errorlevel=26 set cdrom=z
path=a:\;%CDROM%:\
%CDROM%:
cd \ezboot
ghost.exe -rb -sure -clone,mode=pload,src=system.gho:1,dst=1:1
echo.
goto QUIT
:NOCDROM
echo.
echo The Windows 98 Setup files were not found.
echo.
:QUIT 作者: zhengjian800 时间: 2003-8-17 21:03 标题: 大哥,大姐快帮帮小弟!!!