是这样的
好像进去拉还有好多选项
@ECHO OFF
SET DIRCMD=/O
set ramd=z:
a:\xmsdsk 2048 %ramd% /y /t
echo.
echo Preparing base files to drive Z: ...
echo.
mkdir %ramd%\bin
rem mkdir %ramd%\doscmd
mkdir %ramd%\temp
set tmp=%ramd%\temp
set temp=%ramd%\temp
set ebddir=%ramd%\doscmd
set path=%ramd%\bin
copy a:\command.com %ramd%\ >nul
set comspec=%ramd%\command.com
copy a:\extract.exe %ramd%\bin >nul
copy a:\device.com %ramd%\bin >nul
rem extract /y /l %ramd%\ /e a:\ebd.cab >nul
extract /y /l %ramd%\doscmd /e a:\ebd.cab >nul
set path=%path%;%ramd%\doscmd;%ramd%\;
lh mouse >nul
lh doskey >nul
rem :seldrv
cls
rem call w.bat menu @autoexec.bat:m_seldrv #1,5
rem if errorlevel 100 goto end
rem if errorlevel 2 goto end
echo Extracting device driver(s)...
mkdir %ramd%\device
extract /y /l %ramd%\device /e a:\cdrom.cab >nul
device %ramd%\device\OAKCDROM.SYS /D:MSCD000
cls
echo.
echo Preparing to start your computer. ( wzhome@21cn.com)
echo This may take a few minutes. Please wait...
echo.
rem LH MSCDEX.EXE /D:MSCD000 /L:%CDROM%
rem lh mscdex /D:MSCD000
call findcd.bat
lh smartdrv 4096
echo.
echo The diagnostic tools were successfully loaded to drive Z:.
echo.
goto END
rem :m_seldrv " Select Device to Load (5s)"
rem [ 1. CD-ROM Driver Only (Default) ]
rem [ 2. Command Prompt Only (ESC) ]
::
:END
%ramd%:
call gcdrom.bat