把smartdrv.exe和MSBATCH.INF放到win98安装目录SIMPCHIN\WIN98\WIN98下,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: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 \SIMPCHIN\WIN98\WIN98
echo.
smartdrv.exe
SETUP.EXE MSBATCH.INF /IS
goto QUIT
:NOCDROM
echo.
echo The Windows 98 Setup files were not found.
echo.
:QUIT 作者: kingmx7 时间: 2004-2-25 15:46 标题: 98自动安装的几个问题?