发新话题
打印

我做了一个光盘启动盘,但怎么老是提示找不到我放在光盘根目录下的那几个文件???

我做了一个光盘启动盘,但怎么老是提示找不到我放在光盘根目录下的那几个文件???

  我的config.sys文件如下:
[menu]
menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
submenu=TOOLS, GHOST AND DISKMAN AND LFORMAT the disk.
menuitem=HELP, View the Help file.
menudefault=CD,30
menucolor=7,0
[CD]
device=himem.sys /testmem:off
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
[NOCD]
device=himem.sys /testmem:off
[HELP]
device=himem.sys /testmem:off
[TOOLS]
menuitem=GHOST,GHOST THE HARDDISK
menuitem=DISKMAN,DISKMAN THE HARDDISK
menuitem=LFORMAT,LFORMAT THE HARDDISK
menudefault=CD,50
menucolor=7,1
[GHOST]
device=oakcdrom.sys /D:mscd001
device=himem.sys /testmem:off
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
[DISKMAN]
device=oakcdrom.sys /D:mscd001
device=himem.sys /testmem:off
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
[LFORMAT]
device=oakcdrom.sys /D:mscd001
device=himem.sys /testmem:off
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=ramdrive.sys /E 2048
lastdrive=z
我的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
copy readme.txt %RAMD%:\ > NUL
pause
copy ghost.exe %RAMD%:\ > NUL
copy diskman.exe %RAMD%:\ > NUL
copy lformat.exe %RAM%:\>NUL
pause
:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
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%"=="NOCD" GOTO QUIT
IF "%config%"=="HELP" GOTO HELP
LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:z
IF "%config%"=="GHOST" GOTO GHOST
IF "%config%"=="DISKMAN" GOTO DISKMAN
IF "%config%"=="LFORMAT" GOTO LFORMAT
echo.
GOTO QUIT
:HELP
cls
call help.bat
echo Your computer will now restart and the startup menu will appear.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
restart.com
GOTO QUIT
:GHOST
copy
CLS
echo
ghost.exe
echo
echo
echo
z:
dir
pause
GOTO QUIT
:DISKMAN
CLS
echo
diskman.exe
echo
echo
echo
GOTO QUIT
:LFORMAT
CLS
echo
lformat.exe
echo
echo
echo
GOTO QUIT
:QUIT
echo To get help, type HELP and press ENTER.
echo.
为什么我在点击二级子目录的时候会提示找不到那几个文件,我是想让它们在点击目录时自动运行ghost或diskman或lformat(这几个文件我已经放在了光盘的根目录下了),可是为什么老是不行??请高手指点一下!!!!

TOP

我做了一个光盘启动盘,但怎么老是提示找不到我放在光盘根目录下的那几个文件???

没有指定路径
在:GHOST后加一行
Z:
就可以了

TOP

我做了一个光盘启动盘,但怎么老是提示找不到我放在光盘根目录下的那几个文件???

我指定路径后,又出现了另外的问题,提示说达到了最大盘符!!(错误)

TOP

我做了一个光盘启动盘,但怎么老是提示找不到我放在光盘根目录下的那几个文件???

请斑竹给我看看这样行吗??我把ghost.exe等存入虚拟磁盘可以吗??另外我还加了个光驱驱动vide-cdd.sys,!!
[menu]
menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
submenu=TOOLS, GHOST AND DISKMAN AND LformAT the disk.
menuitem=HELP, View the Help file.
menudefault=CD,30
menucolor=7,0
[CD]
device=himem.sys /testmem:off
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
device=vide-cdd.sys /D:mscd001
[NOCD]
device=himem.sys /testmem:off
[HELP]
device=himem.sys /testmem:off
[TOOLS]
menuitem=GHOST,GHOST THE HARDDISK
menuitem=DISKMAN,DISKMAN THE HARDDISK
menuitem=LformAT,LformAT THE HARDDISK
menudefault=CD,50
menucolor=7,1
[GHOST]
device=oakcdrom.sys /D:mscd001
device=himem.sys /testmem:off
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
device=vide-cdd.sys /D:mscd001
[DISKMAN]
device=oakcdrom.sys /D:mscd001
device=himem.sys /testmem:off
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
device=vide-cdd.sys /D:mscd001
[LformAT]
device=oakcdrom.sys /D:mscd001
device=himem.sys /testmem:off
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
device=vide-cdd.sys /D:mscd001
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=ramdrive.sys /E 2048
lastdrive=z
我的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
copy readme.txt %RAMD%:\ > NUL
LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:z
pause
copy z:\ghost.exe %RAMD%:\ > NUL
copy z:\diskman.exe %RAMD%:\ > NUL
copy z:\lformat.exe %RAM%:\>NUL
pause
:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
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%"=="NOCD" GOTO QUIT
IF "%config%"=="HELP" GOTO HELP
IF "%config%"=="GHOST" GOTO GHOST
IF "%config%"=="DISKMAN" GOTO DISKMAN
IF "%config%"=="LformAT" GOTO LformAT
echo.
GOTO QUIT
:HELP
cls
call help.bat
echo Your computer will now restart and the startup menu will appear.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
restart.com
GOTO QUIT
:GHOST
CLS
echo
ghost.exe
echo
echo
echo
GOTO QUIT
:DISKMAN
CLS
echo
diskman.exe
echo
echo
echo
GOTO QUIT
:LformAT
CLS
echo
lformat.exe
echo
echo
echo
GOTO QUIT
:QUIT
echo To get help, type HELP and press ENTER.
echo.

TOP

我做了一个光盘启动盘,但怎么老是提示找不到我放在光盘根目录下的那几个文件???

[这个贴子最后由lyqiang在 2005/08/03 11:56pm 第 2 次编辑]

添加了个驱动

TOP

我做了一个光盘启动盘,但怎么老是提示找不到我放在光盘根目录下的那几个文件???

把ghost.exe等导入虚拟磁盘,如下


TOP

我做了一个光盘启动盘,但怎么老是提示找不到我放在光盘根目录下的那几个文件???

请斑竹和诸位高手指点,这样做之后,不知道行不行,我在虚拟机上试过,但老是提示找不到光驱!

TOP

发新话题