Code: Select all
@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
cls
set temp=c:set tmp=c:path=a:
IF "%config%"=="NOCD" GOTO QUIT
IF "%config%"=="SETUP_CD" GOTO AUTOSETUP
IF "%config%"=="CD" GOTO CDSET
LH MSCDEX.EXE /D:usbcd001
GOTO QUIT
:AUTOSETUP
LH MSCDEX.EXE /D:oemcd001
cd D:WIN98
echo.
OEMSETUP.EXE /K "/IE /NF"
goto QUIT
:CDSET
LH MSCDEX.EXE /D:oemcd001
goto quit
:NOCDROM
echo.
echo The Windows 98 Setup files were not found.
echo.
:QUIT