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-07-25 07:57
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Please ask your specific question about adding drivers in config.sys. Please provide more details such as what kind of driver you want to add, the specific content of the configuration you have tried, etc. View 4,416 Replies 6
Original Poster Posted 2008-12-10 14:51 ·  中国 广东 深圳 天威视讯
新手上路
Credits 18
Posts 10
Joined 2008-12-08 13:53
17-year member
UID 133228
Gender Male
Status Offline
WIN98 CD boot IMG file, want to use to make a GHOST boot disk with SATA drivers.

Ask about adding drivers in config.sys.

In AUTOEXEC.BAT, wrote LH MSCDEX.EXE /D:MSCD000 /D:MSCD001 /D:MSCD002 /L:%CDROM%

Then in config.sys, add:

device=driver.sys /d:mscd000 /c0

device=driver.sys /d:mscd000 /c1

device=driver.sys /d:mscd000 /c2

1. Can I just write one line directly instead of three lines?

device=driver.sys /d:mscd000 /c0

2. Can I not use C0 and write L:%CDROM%

device=driver.sys /d:mscd000 /L:%CDROM%

3. Can C0 and /L:%CDROM% be used together?

device=driver.sys /d:mscd000 /L:%CDROM% /c0

Or device=driver.sys /d:mscd000 /c0 /L:%CDROM%

4. Will the above three questions cause problems when using?

[ Last edited by szcht on 2008-12-10 at 18:33 ]
Floor 2 Posted 2008-12-10 18:00 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
Please state the operating system you are using in the top post
Floor 3 Posted 2008-12-10 18:32 ·  中国 广东 深圳 天威视讯
新手上路
Credits 18
Posts 10
Joined 2008-12-08 13:53
17-year member
UID 133228
Gender Male
Status Offline
Originally posted by HAT at 2008-12-10 18:00:
Please state in the top post what operating system you are using


WIN98 CD bootable IMG file, want to use it to make a GHOST bootable disk with SATA drivers
Floor 4 Posted 2008-12-10 20:33 ·  中国 河南 洛阳 电信
银牌会员
★★★
Credits 1,455
Posts 712
Joined 2006-01-20 10:26
20-year member
UID 49246
Status Offline
Hehe, the answer to the first question: Yes (if you only have one CD drive). The answer to the second question: It's okay not to use /c0, because the default parameter when not using it is /c0; as for whether specifying the drive letter /L:%cdrom% is possible, I haven't used it and don't know. It is suggested that the poster give it a try. The answer to the third question: It has been answered in the second question.
Floor 5 Posted 2008-12-10 21:27 ·  中国 江苏 南京 电信
新手上路
Credits 18
Posts 10
Joined 2008-12-08 13:53
17-year member
UID 133228
Gender Male
Status Offline
Originally posted by bc12060101 at 2008-12-10 20:33:
Hehe, the answer to the first question: Yes (if you only have one CD-ROM). The answer to the second question: It's okay not to use /c0, the default parameter when not used is /c0; as for specifying the drive letter /L:%cdrom%...


Now there is a problem. If three lines are added in config.sys:
device=driver.sys /d:mscd000 /c0
device=driver.sys /d:mscd000 /c1
device=driver.sys /d:mscd000 /c2

Then when the CD-ROM starts, three drive letters are recognized in DOS, but the content files in the three drive letters are the same. Is there a way to intelligently recognize one CD-ROM with one drive letter and two CD-ROMs with two drive letters? I should have added the parameters correctly above.

[ Last edited by szcht on 2008-12-10 at 21:31 ]
Floor 6 Posted 2018-03-20 13:51 ·  中国 北京 鹏博士BGP
新手上路
Credits 12
Posts 6
Joined 2018-03-15 08:52
8-year member
UID 182704
Gender Male
Status Offline
Got it, thanks.
Floor 7 Posted 2022-10-21 20:51 ·  中国 湖南 常德 电信
初级用户
Credits 51
Posts 26
Joined 2022-04-17 09:34
4-year member
UID 184621
Gender Male
Status Offline
Learned, there are many experts here, are they all veterans?
Forum Jump: