|
waffle
中级用户
  
积分 230
发帖 37
注册 2003-5-24
状态 离线
|
『楼 主』:
config.sys的问题
使用 LLM 解释/回答一下
假设有个config.sys如下:
submenu=MS,MS software
submenu=IBM,IBM software
menudefault=MS,30
......
MS菜单下的选项都用到一部分相同的配置(比如叫MScommon),IBM菜单下的选项也要用到另一部分的相同配置(比如叫IBMcommon,但MScommon和IBMcommon本身是不一样的),该如何写,是否能写几个?的位置有关系吗?
能举个include的例子吗?
Suppose there is a config.sys as follows:
submenu=MS,MS software
submenu=IBM,IBM software
menudefault=MS,30
......
The options under the MS menu all use some part of the same configuration (for example, called MScommon), and the options under the IBM menu also need to use another part of the same configuration (for example, called IBMcommon, but MScommon and IBMcommon are different themselves). How should be written? Can there be several ? Does the position of matter?
Can you give an example of include?
|
|
2003-11-22 00:00 |
|
|
waffle
中级用户
  
积分 230
发帖 37
注册 2003-5-24
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
自己顶一下,很想搞清楚这个问题。
Bump myself, really want to figure out this problem.
|
|
2003-11-24 00:00 |
|
|
pfox
银牌会员
    
积分 1451
发帖 446
注册 2002-10-20
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
是共用的,菜单里面可以另写对应的项目,下面有一个简单的例子:
menuitem=CD-ROM, Start computer with CD-ROM support.
menuitem=CD-EMM, Start computer with CD-ROM support And USE EMM386.
menuitem=MS-CD, Start MS 's Drive from CD-ROM.
menuitem=SETUP-98, Start & SETUP Windows 98 from cd-rom.
menuitem=NO-CD, Start computer WITHOUT CD-ROM support.
menuitem=NORAM-CD, Start computer with CD-ROM but Don't without RAMDRIVE.
menuitem=SCSI-CD, Start computer with SCSI CD-ROM support.
menudefault=CD-ROM,10
menucolor=14,1
device=himem.sys /v /testmem<img src="images/smilies/face-surprise.png" align="absmiddle" border="0">ff /q
files=60
buffers=20
stacks=9,256
dos=high,umb
lastdrive=z
devicehigh=vide-cdd.sys /D:pfcd000
device=emm386.exe ram
devicehigh=vide-cdd.sys /D:pfcd000
devicehigh=cdrom.sys /D:pfcd000
devicehigh=cdrom.sys /D:pfcd000
devicehigh=cdrom.sys /D:pfcd000
devicehigh=cdrom.sys /D:pfcd000
is shared. You can write corresponding items in the menu. Here is a simple example:
menuitem=CD-ROM, Start computer with CD-ROM support.
menuitem=CD-EMM, Start computer with CD-ROM support And USE EMM386.
menuitem=MS-CD, Start MS 's Drive from CD-ROM.
menuitem=SETUP-98, Start & SETUP Windows 98 from cd-rom.
menuitem=NO-CD, Start computer WITHOUT CD-ROM support.
menuitem=NORAM-CD, Start computer with CD-ROM but Don't without RAMDRIVE.
menuitem=SCSI-CD, Start computer with SCSI CD-ROM support.
menudefault=CD-ROM,10
menucolor=14,1
device=himem.sys /v /testmem:off /q
files=60
buffers=20
stacks=9,256
dos=high,umb
lastdrive=z
devicehigh=vide-cdd.sys /D:pfcd000
device=emm386.exe ram
devicehigh=vide-cdd.sys /D:pfcd000
devicehigh=cdrom.sys /D:pfcd000
devicehigh=cdrom.sys /D:pfcd000
devicehigh=cdrom.sys /D:pfcd000
devicehigh=cdrom.sys /D:pfcd000
|

我的下载空间 |
|
2003-11-25 00:00 |
|
|
waffle
中级用户
  
积分 230
发帖 37
注册 2003-5-24
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
谢谢楼上的回答,你说的是最基本的用法,我在下面这个网页上看到一些内容http://www.imu.edu.cn/zweb/try290.htm
“COMMON块属公用区,用来定义所有配置都要执行的命令。同一个CONFIG.SYS文件中,可以拥有多个COMMON块,系统会根据其出现顺序连续执行。
当CONFIG.SYS文件拥有多重配置时,一般会在文件底端有一个附加COMMON块,该块可以不含任何命令。当用户在安装某些新应用程序时,系统可能会附加一些命令到CONFIG.SYS文件的底端,这样就很容易地将这些命令增加到CONFIG.SYS底部的COMMON块中。
”
哪位高手能就这两段话举个例子说说。
Thanks for the answer from the person above. What you said is the most basic usage. I saw some content on the following webpage: http://www.imu.edu.cn/zweb/try290.htm
"The COMMON block belongs to the common area, used to define commands that all configurations must execute. In the same CONFIG.SYS file, there can be multiple COMMON blocks, and the system will execute them continuously according to their appearance order.
When the CONFIG.SYS file has multiple configurations, there is generally an additional COMMON block at the bottom of the file, and this block can contain no commands. When installing some new applications, the system may attach some commands to the bottom of the CONFIG.SYS file, so that these commands can be easily added to the COMMON block at the bottom of the CONFIG.SYS."
Which expert can give an example based on these two paragraphs?
|
|
2003-11-25 00:00 |
|
|
龙王
银牌会员
    
积分 1186
发帖 334
注册 2003-5-30
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
谢谢楼上的链接
对common]有了新的认识
我试一下
Thanks for the link from the person above. I have a new understanding of . I'll give it a try.
|
|
2003-11-25 00:00 |
|
|
hujintao
初级用户
 
积分 74
发帖 21
注册 2006-8-9
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
3楼的例子中[NO-CD]会加载[common]的配置吗,clean dos怎么得到
In the example on floor 3, will load the configuration of ? How to get clean DOS
|
|
2006-8-13 09:36 |
|
|