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:53
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Progressive Execution Menu Editor ConMenu.sys V2.12 Used in config.sys View 87,761 Replies 270
Floor 31 Posted 2006-03-01 19:31 ·  中国 山西 临汾 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re #four#:

You should admire Brother yaya instead of me, because my programming, especially the assembly foundation, is not solid. Programs like ConMenu.sys / ConMenuR.sys are beyond my ability to compile, and I can only discuss some simple issues with the author from the user's perspective.
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 32 Posted 2006-03-02 14:55 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
The moderator willsort is too modest!
Floor 33 Posted 2006-05-10 01:52 ·  中国 河南 郑州 电信
中级用户
★★
Credits 439
Posts 170
Joined 2006-01-09 20:29
20-year member
UID 48707
Status Offline
Floor 34 Posted 2006-05-14 09:37 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
Very good, strongly support...
I have been wanting to make a boot option that can display Chinese for several years, but it ended in failure. I just saw the post on VTMAGIC.COM a few days ago and was going to study it when I have time. Downloading yours first to learn, which saves a lot of trouble. Thanks first... :P
Floor 35 Posted 2006-05-17 12:35 ·  中国 上海 杨浦区 电信
高级用户
★★
Credits 653
Posts 252
Joined 2006-04-16 19:48
20-year member
UID 53939
Status Offline
Good stuff, strongly support ing~ ~

Thanks to the LZ for posting
Floor 36 Posted 2006-05-17 13:48 ·  中国 江苏 南京 联通
初级用户
Credits 60
Posts 5
Joined 2004-08-16 00:00
21-year member
UID 30224
Gender Male
Status Offline
楼主,你好,我想请问一个问题:

问题1. 看了楼主的例子,想确定一下,选项的排列的逻辑方式1还是方式2

方式1:
├─A
├─B
│ ├─A
│ │ ├─A
│ │ └─B
│ ├─B
│ ├─C
│ └─D
│ ├─1
│ ├─2
├─C
└─D
└─1
└─2

方式2:
├─A
├─B
│ ├─C
│ │ ├─D
│ │ └─E
│ ├─F
│ ├─G
│ └─1
│ └─2
├─I
└─J
└─3
└─4

问题2:
我把
rem cm0=[A 选项1
...
rem cm0=]

rem cm0=[B 选项2
...
rem cm0=]

中的 A B 省略,会如何?是否程序还是默认的用 A B 替代
rem cm0=[ 选项1
...
rem cm0=]

rem cm0=[ 选项2
...
rem cm0=]

Thanks.
Floor 37 Posted 2006-05-17 18:43 ·  中国 山西 太原 联通(蓝汛云计算太原节点)
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Method 1. A and B are omitted, and the menu will not display A and B. But it does not affect the operation.
Floor 38 Posted 2006-05-17 20:59 ·  中国 江苏 南京 联通
初级用户
Credits 60
Posts 5
Joined 2004-08-16 00:00
21-year member
UID 30224
Gender Male
Status Offline
I found that there seems to be a problem with the implicit menu.

See the code
Device=c:\config.exe
Device=c:\conmenu\conmenu.sys

rem caption= DOS Boot Menu
rem caption= Main Menu
rem caption==============================================================

rem cm0=[ 1. Normal Boot (UMBPCI)
DeviceHigh=C:\BOOT\HIMEM.EXE
DeviceHigh=C:\BOOT\UMBPCI.SYS
rem include0=1
rem cm0=]0A

rem cm0=[ 2. Minimal Boot
rem cm0=]0B

rem cm0=(1
dos=high,umb,auto
rem cm0=)

rem cm0=[end]

The problem is found. After I select the second item, it prompts that DOS cannot load UMB, that is, when I select the second item, the code of cm0=(1 part is also run.

Or does the implicit menu just be implicit and there will be no problem no matter whether it is selected or not?

I tested in a real environment, not using a virtual machine, and DOS uses version 7.1
Floor 39 Posted 2006-05-26 09:44 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
After testing, when selecting the second option, the implicit menu code 'dos=high,umb,auto' was not executed. But io.sys did give a prompt, which roughly means that the high memory area HMB was not installed, not that DOS failed to load umb.

HIMEM.EXE should seem to be HIMEM.SYS.

[ Last edited by yaya on 2006-5-26 at 09:46 ]
Floor 40 Posted 2006-06-22 17:57 ·  中国 江苏 南京 联通
初级用户
Credits 60
Posts 5
Joined 2004-08-16 00:00
21-year member
UID 30224
Gender Male
Status Offline
There are many versions of himem. Some are himem.sys and some are himem.exe. I am using the latest himem I can find, and its file extension is.exe. However, with this prompt, I always feel like some code has been executed, and I don't feel comfortable about it...
Floor 41 Posted 2006-07-12 06:29 ·  中国 江苏 南京 秦淮区 电信
新手上路
Credits 12
Posts 6
Joined 2005-11-26 07:37
20-year member
UID 45945
Status Offline
Many thanks
Floor 42 Posted 2006-08-25 17:41 ·  中国 河南 商丘 中移铁通
初级用户
Credits 74
Posts 21
Joined 2006-08-09 23:15
19-year member
UID 60186
Status Offline
Does the check box and hidden menu not be able to set config?

Also, if include the same-level display menu, does it only include its settings, or can this same-level menu also be displayed in the lower-level menu?

In the following draft, after selecting the usb check box menu but not inserting a usb device, cd2 can normally use the ide optical drive and mscdx.exe to load the ide optical drive successfully, but cd1 can't even open the ide optical drive, and shsucdx.com fails to load. Is this due to shsucdx.com or...?

=========config===========
rem cm0=















rem cm1=








rem cm1=







==========autoexec.bat==========
:cd1
lh shsucdx.com /D:ide-cd /d:usb-cd
smartdrv /u
lh qcd.exe
lh ctmouse.exe
lh doslfn
goto end

:cd2
lh mscdex.exe /D:ide-cd /d:usb-cd
smartdrv /u
lh qcd.exe
lh doslfn
lh ctmouse.exe
goto end

[ Last edited by hujintao on 2006-8-25 at 17:53 ]
Floor 43 Posted 2006-08-25 18:20 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Check boxes and hidden menus can set config. The displayable menu items can include other menu items at the same level (displayable/hidden) include. It only contains its settings and cannot display this same-level menu in the lower-level menu. It is because of shsucdx.com. Download a higher version from the Internet, which can solve the problem.
Floor 44 Posted 2006-08-25 19:40 ·  中国 河南 商丘 中移铁通
初级用户
Credits 74
Posts 21
Joined 2006-08-09 23:15
19-year member
UID 60186
Status Offline
If it is executed, is its execution order before or after cd1 or cd2? Thanks!
rem cm1=



rem cm1=








rem cm1=







========================
:usb
h loadsys /r /f a:\usbaspi.sys /v /norst
lh loadsys /r /f a:\di1000dd.sys
lh loadsys /r /f a:\aspiohci.sys /int /all
lh loadsys /r /f a:\aspiuhci.sys /int /all
lh loadsys /r /f a:\usbcd.sys /d:usb-cd
lh shsucdx.com /D:usb-cd
goto end

:cd1
lh shsucdx.com /D:ide-cd
smartdrv /u
lh qcd.exe
lh ctmouse.exe
lh doslfn
goto end

:cd2
lh mscdex.exe /D:ide-cd
smartdrv /u
lh qcd.exe
lh doslfn
lh ctmouse.exe
goto end
==================================
vide-cdd.sys & shsucdx.com are already the latest versions SHCDX33A, 26-Dec-2005.
All USB drivers are from Wengier's Super msdos710

[ Last edited by hujintao on 2006-8-25 at 21:03 ]
Floor 45 Posted 2006-08-26 09:54 ·  中国 山西 太原 联通(蓝汛云计算太原节点)
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
The new version of SHCDX33A should be okay. Usage: shsucdx.com /D:?ide-cd /d:?usb-cd

If you choose:
rem cm1=[? . Load USB
rem cm1=[A. CD-ROM (vide-cdd.sys+shsucdx.com) (can loadiso)

For the config variable, it is:
set config=usb
set config=cd1

Then the program first sets the variable config to usb, and then changes it to cd1. For the check menu, different variables should be used, such as set config1=usb
Forum Jump: