China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-20 17:26
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Help! Can't automatically enter the CD drive... View 2,376 Replies 18
Original Poster Posted 2003-07-10 00:00 ·  中国 北京 北京神州长城通信技术发展中心中国长城互联网
初级用户
Credits 218
Posts 26
Joined 2003-05-30 00:00
23-year member
UID 2628
Gender Male
Status Offline
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 /Demcd001 /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 /testmemff
device=oakcdrom.sys /Demcd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /Demcd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /Demcd001


device=himem.sys /testmemff
device=oakcdrom.sys /Demcd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /Demcd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /Demcd001


device=himem.sys /testmemff


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!!
Floor 2 Posted 2003-07-10 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
It is strongly recommended to reorganize the CONFIG.SYS file, replacing those bulky things (like OAKCDROM.SYS) with smaller, newer and more practical programs (such as VIDE-CDD.SYS).
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-07-10 00:00 ·  中国 广东 广州 荔湾区 电信
初级用户
★★★
Credits 1,480
Posts 377
Joined 2003-06-06 00:00
23-year member
UID 3875
Gender Male
Status Offline
Here
LH MSCDEX.EXE /Demcd001 /L Remove the /L part. The /L parameter specifies the drive letter of the CD - ROM.
欢迎大家访问我的主页!
精品.爱好http://iso.533.net
Floor 4 Posted 2003-07-10 00:00 ·  中国 广东 广州 荔湾区 电信
初级用户
★★★
Credits 1,480
Posts 377
Joined 2003-06-06 00:00
23-year member
UID 3875
Gender Male
Status Offline
The following is a quote from Wengier on 2003-7-10 1:35:48:
Strongly recommend re-organizing the CONFIG.SYS file, replacing those bulky things (like OAKCDROM.SYS) with smaller, newer, and more practical programs (such as VIDE-CDD.SYS).


Strongly recommend considering us newcomers when answering questions. After putting forward suggestions, please also answer the questions, so that the poster can get the answer and can consider better suggestions.....

Although this is a bit difficult, it can help a newcomer grow. Don't you think so, Wengier?
欢迎大家访问我的主页!
精品.爱好http://iso.533.net
Floor 5 Posted 2003-07-10 00:00 ·  中国 北京 北京神州长城通信技术发展中心中国长城互联网
初级用户
Credits 218
Posts 26
Joined 2003-05-30 00:00
23-year member
UID 2628
Gender Male
Status Offline
I removed it, but it still doesn't work!
Floor 6 Posted 2003-07-10 00:00 ·  中国 广东 广州 荔湾区 电信
初级用户
★★★
Credits 1,480
Posts 377
Joined 2003-06-06 00:00
23-year member
UID 3875
Gender Male
Status Offline
Actually, your batch processing doesn't need to be this complicated. Do you choose to load the CD and then install automatically or install automatically from the start?
欢迎大家访问我的主页!
精品.爱好http://iso.533.net
Floor 7 Posted 2003-07-10 00:00 ·  中国 北京 北京神州长城通信技术发展中心中国长城互联网
初级用户
Credits 218
Posts 26
Joined 2003-05-30 00:00
23-year member
UID 2628
Gender Male
Status Offline
First load the CD, then install automatically!
Floor 8 Posted 2003-07-10 00:00 ·  中国 广东 广州 荔湾区 电信
初级用户
★★★
Credits 1,480
Posts 377
Joined 2003-06-06 00:00
23-year member
UID 3875
Gender Male
Status Offline
Try this way
LH MSCDEX.EXE /Demcd001 /L:%cdrom%

%cdrom%:\win98\OEMSETUP.EXE drive letter:\***.INF /is

The drive letter:\***.INF is the location of the answer file, and is skips the disk check.






欢迎大家访问我的主页!
精品.爱好http://iso.533.net
Floor 9 Posted 2003-07-10 00:00 ·  中国 北京 北京神州长城通信技术发展中心中国长城互联网
初级用户
Credits 218
Posts 26
Joined 2003-05-30 00:00
23-year member
UID 2628
Gender Male
Status Offline
The following is a quote from dianjirqinru on 2003-7-10 2:49:35:
Try it this way

The drive letter:\***.INF is the location of the answer file, and is to skip the disk check.



What does the term "answer file" mean? Does "drive letter" refer to the directory of the installation file?
Floor 10 Posted 2003-07-10 00:00 ·  中国 广东 广州 荔湾区 电信
初级用户
★★★
Credits 1,480
Posts 377
Joined 2003-06-06 00:00
23-year member
UID 3875
Gender Male
Status Offline
Automated installation requires an answer file! You can go online to check articles about automated installation...
Or you can place the automated answer file in the installation directory and run setup to perform automated installation, but then manual installation won't be possible.
欢迎大家访问我的主页!
精品.爱好http://iso.533.net
Floor 11 Posted 2003-07-10 00:00 ·  中国 北京 北京神州长城通信技术发展中心中国长城互联网
初级用户
Credits 218
Posts 26
Joined 2003-05-30 00:00
23-year member
UID 2628
Gender Male
Status Offline
Oh, I don't need this automatic installation answer file yet! I just need to enter the win98se directory in the CD and run setup.exe, and then install manually later!!

I changed the batch file as you said, but still can't enter the CD drive!!
Floor 12 Posted 2003-07-10 00:00 ·  中国 北京 北京神州长城通信技术发展中心中国长城互联网
初级用户
Credits 218
Posts 26
Joined 2003-05-30 00:00
23-year member
UID 2628
Gender Male
Status Offline
Finally, it shows:
MSCDEX Version 2.25
Copyright (c)Microsoft Corp. 1986-1995. All rights reserved.
Drive E:=Driver MSCS001 unit 0 (I changed LH MSCDEX.EXE /Demcd001 to LH MSCDEX.EXE /D:mscd001 /L:%cdrom%)
Invalid directory

Bad command or file name
a:\>

Floor 13 Posted 2003-07-10 00:00 ·  中国 北京 北京神州长城通信技术发展中心中国长城互联网
初级用户
Credits 218
Posts 26
Joined 2003-05-30 00:00
23-year member
UID 2628
Gender Male
Status Offline
????
Floor 14 Posted 2003-07-10 00:00 ·  中国 湖北 随州 电信
元老会员
★★★
Credits 1,987
Posts 632
Joined 2002-10-27 00:00
23-year member
UID 73
Gender Male
Status Offline
Answer files provide a script that can generate detailed installation information by itself (including custom installation components, user information, serial numbers, etc.). In short, it aggregates all the things you need to choose during the manual installation process and generates a text file. Then the installation program realizes fully automatic installation according to the description of the answer file, and you don't need to pay attention to it anymore.

My boot disk has automatic installation answer files for various operating systems such as WIN98SE, WINNT, WIN2000PRO, WIN2000SVR, WIN2000ADV, WINXPPRO. You can copy them in. The one for 98 is MSBATCH.INFhttp://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=11&ID=4298
http://dos.e-stone.cn/dosbbs
uploadImages/200311161145850422.swf
Floor 15 Posted 2003-07-10 00:00 ·  中国 广东 广州 荔湾区 电信
初级用户
★★★
Credits 1,480
Posts 377
Joined 2003-06-06 00:00
23-year member
UID 3875
Gender Male
Status Offline
You can take a look at mine....Open attachment
欢迎大家访问我的主页!
精品.爱好http://iso.533.net
Forum Jump: