I have to trouble everyone again, thank you first!!
My original intention was to automatically enter the win98se directory in the CD (just under the root directory of the CD) through autoexec.bat and config.sys, execute setup.exe, to install Windows 98, but I don't know where the mistake is, that is, I can't enter the CD drive!!
The content of my autoexec.bat is:
@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
emcd001 /L
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 \WIN98
echo.
OEMSETUP.EXE /K "/IE /NF"
goto QUIT
:NOCDROM
echo.
echo The Windows 98 Setup files were not found.
echo.
:QUIT
The content of my config.sys is:
menuitem=SETUP_CD, Start Windows 98 Setup from CD-ROM.
menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
menudefault=SETUP_CD,30
menucolor=7,0
device=himem.sys /testmem
ff
device=oakcdrom.sys /D
emcd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D
emcd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D
emcd001
device=himem.sys /testmem
ff
device=oakcdrom.sys /D
emcd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D
emcd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D
emcd001
device=himem.sys /testmem
ff
files=60
buffers=20
dos=high,umb
stacks=9,256
lastdrive=z
Maybe this is very simple for you, but I really thank you if you can help me!!
My original intention was to automatically enter the win98se directory in the CD (just under the root directory of the CD) through autoexec.bat and config.sys, execute setup.exe, to install Windows 98, but I don't know where the mistake is, that is, I can't enter the CD drive!!
The content of my autoexec.bat is:
@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
emcd001 /L
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 \WIN98
echo.
OEMSETUP.EXE /K "/IE /NF"
goto QUIT
:NOCDROM
echo.
echo The Windows 98 Setup files were not found.
echo.
:QUIT
The content of my config.sys is:
menuitem=SETUP_CD, Start Windows 98 Setup from CD-ROM.
menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
menudefault=SETUP_CD,30
menucolor=7,0
device=himem.sys /testmem
ffdevice=oakcdrom.sys /D
emcd001 device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D
emcd001device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D
emcd001device=himem.sys /testmem
ffdevice=oakcdrom.sys /D
emcd001 device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D
emcd001device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D
emcd001device=himem.sys /testmem
fffiles=60
buffers=20
dos=high,umb
stacks=9,256
lastdrive=z
Maybe this is very simple for you, but I really thank you if you can help me!!



