其實大致上可以清楚的了解到你的問題所在
第一你先準備你的 WIN98 或 WINME 的光碟片隨便一片
因為要做光碟開機檔抽取,
一般WIN98跟WINME不支援NTFS的格式,
所以可以使用新版的 GHOST 來做替代。
其他的東西我在教你怎麼製作選單囉!
不然你可以研究一下 DOS 6.22 的
CONFIG.SYS
複製程式
[menu]
submenu=setup,Windows 98 or Windows ME Setup
menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
menudefault=CD,30
menucolor=7,0
[setup]
menuitem=WinME, Start Windows Me Setup from CD-ROM.
menuitem=Win98, Start Windows 98 Setup from CD-ROM.
[WinME]
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
[Win98]
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
[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
[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
cls
set temp=c:\
set tmp=c:\
path=a:\
Goto %config%
:WinME
LH MSCDEX.EXE /D:oemcd001 /L:D
set CDROM=FOO23
FINDME.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:\;%CDROM%\
%CDROM%
cd \WINME
echo.
SETUP.EXE WinME.inf
goto QUIT
:Win98
LH MSCDEX.EXE /D:oemcd001 /L:D
set CDROM=FOO23
FIND98.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:\;%CDROM%\
%CDROM%
cd \WIN98
echo.
SETUP.EXE Win98.inf
goto QUIT
:CD
LH MSCDEX.EXE /D:oemcd001 /L:D
@echo off
cls
echo.
echo 1 Prompt this is Ghost
echo 2 Prompt this is Safe mode with CD-ROM
echo.
Choice /c:12 /t:2,10 Choose A Option
if errorlevel 1 goto gh
if errorlevel 2 goto cr
:gh
ghost.exe
goto quit
:cr
GOTO QUIT
:NOCD
echo.
echo The Windows 98 Setup files were not found.
echo.
:QUIT