|
config
新手上路

积分 18
发帖 5
注册 2005-10-19
状态 离线
|
『楼 主』:
求助 自动批处理autoexec.bat的问题!!
使用 LLM 解释/回答一下
请问高手
用ConMenu.sys菜单编辑器制作的config文件与其对应的自动批处理autoexec.bat应该怎样写??  
May I ask the experts
How should the config file made with the ConMenu.sys menu editor and its corresponding autoexec.bat be written??:cool::cool:
|
|
2006-2-19 21:54 |
|
|
本是
银牌会员
    
积分 2221
发帖 789
注册 2005-1-27
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
帖出你的CONFIG.SYS才好往下谈!
Post your CONFIG.SYS to proceed!
|

my major is english----my love is dos----my teacher is the buddha----my friends--how about U |
|
2006-2-20 10:05 |
|
|
config
新手上路

积分 18
发帖 5
注册 2005-10-19
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
比如在不加载ConMenu.sys的config文件中
[MENU]
menuitem=WIN98,Windows
[WIN98]
在autoexec.bat可与之对应选择
:win98下的命令去进行下一步的操作
可是在加载了ConMenu.sys的config文件中
rem cm0=[A. win98中文
rem include0=1
rem cm0=]A
在autoexec.bat可与之对应如何选择
For example, in the config file that does not load ConMenu.sys
menuitem=WIN98,Windows
In autoexec.bat, you can correspond to it and select to carry out the next step of operations with the commands under win98
But in the config file that has loaded ConMenu.sys
rem cm0=
A
How to correspond and select in autoexec.bat
|
|
2006-2-20 17:41 |
|
|
本是
银牌会员
    
积分 2221
发帖 789
注册 2005-1-27
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
在CONMENUxxx.RAR中的CONMENU.TXT中有说明:“由%cm0%,%cm1%...返回参数A,B...P”,即你在AUTOEXEC.BAT中可以用环境变量%cm0%、%cm1%、…返回你在CONFIG.SYS的菜单上所作的选择。如:
if '%cm0%'=='A' goto lbl0A
In CONMENU.TXT in CONMENUxxx.RAR, it is stated: "Return parameters A, B... P from %cm0%, %cm1%...", that is, in AUTOEXEC.BAT, you can use environment variables %cm0%, %cm1%,... to return the choices you made on the menu in CONFIG.SYS. For example:
if '%cm0%'=='A' goto lbl0A
|

my major is english----my love is dos----my teacher is the buddha----my friends--how about U |
|
2006-2-20 20:51 |
|
|
config
新手上路

积分 18
发帖 5
注册 2005-10-19
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
感谢"本是"的帮助!!
顺便说一下在你的回复中
if '%cm0%'=='A' goto lbl0A
应该是双引号
Thanks to "本是" for the help!!
By the way, in your reply
if '%cm0%'=='A' goto lbl0A
should be double quotes
|
|
2006-2-23 16:40 |
|
|
本是
银牌会员
    
积分 2221
发帖 789
注册 2005-1-27
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
如下也行:
if %cm0%.==A. goto lbl0A
是为防止%...%之间为空串。
The following is also okay:
if %cm0%.==A. goto lbl0A
It is to prevent the string between %...% from being an empty string.
|

my major is english----my love is dos----my teacher is the buddha----my friends--how about U |
|
2006-2-23 16:47 |
|
|
config
新手上路

积分 18
发帖 5
注册 2005-10-19
状态 离线
|
|
2006-2-23 17:03 |
|