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 19:16
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Progressive Execution Menu Editor ConMenu.sys V2.12 Used in config.sys View 87,772 Replies 270
Floor 46 Posted 2006-09-20 02:24 ·  中国 福建 泉州 电信
中级用户
★★
Credits 360
Posts 120
Joined 2005-07-14 20:39
20-year member
UID 40722
Status Offline
Asking yaya about displaying Chinese in CONFIG.

I used the http://www.cn-dos.net/forum/viewthread.php?tid=18763&fpage=1 You posted the program in this thread, and it really feels very good. Now I have encountered a problem and don't know how to implement it..

First of all, I have a first-level menu, which is already in Chinese, and the functions in each option are different. However, because there are too many menu options, some things need to set a second-level menu, which is this problem. May I ask how to implement: when we use the Enter key to select item B, instead of executing, we call the next-level menu again, and the options of the menu are completely different from the first level, and there need to be multiple options, just single selection. I saw the other menu CONFIGP you posted, which is not easy to use, because using the cursor left and right keys to select the next-level menu feels impractical and not easy to use, so I still choose the above one, but I don't know how to set the second-level menu. Please give me advice. If possible, please give an example. Thank you.
Floor 47 Posted 2006-09-20 04:06 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Please look at example 3 of the random file. The first - level menu uses cmo=, the second - level menu uses cm1=,... CONFIGP should be relatively advanced, and using the cursor left and right keys to select the next - level menu is just a matter of habit.
Floor 48 Posted 2006-09-21 20:18 ·  中国 香港
初级用户
Credits 35
Posts 18
Joined 2006-09-08 11:37
19-year member
UID 62142
Gender Male
Status Offline
Thanks for sharing, thank you!
Floor 49 Posted 2006-10-16 21:05 ·  中国 浙江 湖州 安吉县 电信
新手上路
Credits 11
Posts 8
Joined 2005-08-12 07:58
20-year member
UID 41579
Status Offline
Floor 50 Posted 2006-11-17 01:45 ·  中国 台湾 台北市 中华电信
新手上路
Credits 2
Posts 1
Joined 2005-09-06 10:30
20-year member
UID 42286
Status Offline
Thanks for providingThanks for providingThanks for providing
Floor 51 Posted 2006-12-05 08:17 ·  中国 安徽 黄山 电信
初级用户
Credits 115
Posts 6
Joined 2003-12-30 00:00
22-year member
UID 14657
Gender Male
Status Offline
Quite a good original work!
Floor 52 Posted 2006-12-21 04:11 ·  中国 福建 三明 电信
新手上路
Credits 2
Posts 1
Joined 2006-12-19 04:00
19-year member
UID 73914
Gender Male
Status Offline
Really a master, downloaded and saved for later use
Floor 53 Posted 2006-12-26 00:08 ·  中国 台湾 台北市 中华电信
初级用户
Credits 44
Posts 21
Joined 2006-12-17 19:34
19-year member
UID 73816
Gender Male
Status Offline
Thanks for the great share..........Spent a few days researching, finally succeeded in testing......
Didn't expect there are really many experts here..... Especially yaya....And Ben Shi....
Here I especially thank your shares,,, you are really experts experts super experts........
Floor 54 Posted 2006-12-26 04:07 ·  中国 四川 成都 电信
初级用户
Credits 66
Posts 24
Joined 2006-12-14 01:18
19-year member
UID 73443
Gender Male
Status Offline
Some questions about using CONFIG.SYS, please ask Master YAYA

1\ Does it support path calls, such as: DEVICE=a:\sys\ConMenu.SYS. Or must it be placed in the root directory
2\ The following CONFIG.SYS
DEVICE=CONFIG.EXE
DEVICE=CONMENU.SYS
REM COLOR=
REM DEFAULT=A,15
REM CAPTION=
REM CAPTION= Title
REM ENDNOTE= Endnote

REM CM0=[A. Real mode boot. (UMBPCI mode)

REM CM1=[?A. Load NTFS partition read-write driver. (Identify NTFS partition)
//Ask: Here I want to load the NTFS driver, but how do I judge that the user has selected this item in AUTOEXEC? That is, how do %cm0%, %cm1% correspond to the menu?
REM CM1=]1A

REM CM1=[?B. Load SCSI/USB devices. (USB flash drive/USB CD drive/SCSI hard drive, etc.)
REM INCLUDE1=2 //Ask: Where should the INCLUDE in the submenu be written
REM CM1=]2A

REM CM1=[?C. Load IEEE1394 devices. (1394 CD drive/hard drive)
REM INCLUDE1=3
REM CM1=]3A

REM CM1=[D. Determine option
//Ask: Can I return to the upper menu here like in CONFIG? How to write it?
REM CM1=]4B
REM CM1=[END]
DEVICEHIGH=UMBPCI.SYS
REM INCLUDE0=1
REM CM0=]A

REM CM0=[B. Protected mode boot. (EMM386 mode)

REM CM1=[?A. Load NTFS partition read-write driver. (Identify NTFS partition)
REM CM1=]1B

REM CM1=[?B. Load SCSI/USB devices. (USB flash drive/USB CD drive/SCSI hard drive, etc.)
REM INCLUDE1=2
REM CM1=]2B

REM CM1=[?C. Load IEEE1394 devices. (1394 CD drive/hard drive)
REM INCLUDE1=3
REM CM1=]3B

REM CM1=[D. Determine option
REM CM1=]4B
REM CM1=[END]
REM INCLUDE0=1
DEVICE=EMM386.EXE NOEMS X=D000
REM CM0=]B

REM CM0=(1
DEVICEHIGH=HIMEM.SYS /testmem:off /q
DEVICEHIGH=QDMA.sys /l
REM CM0=)1

REM CM0=(2
DEVICE=USBASPI.SYS /v
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=DI1000DD.SYS
REM CM0=)2

REM CM0=(3
DEVICE=SBP2ASPI.SYS
DEVICEHIGH=CDSDMINI.SYS /D:FWR-CD
DEVICE=DI1000DD.SYS
REM CM0=)3
Floor 55 Posted 2006-12-26 04:41 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
I guess config.sys should support path calls, you can give it a try.
%cm0% returns A, %cm1% returns A.
The submenu cannot contain the parent menu item. The implicit items 1, 2, 3 must be placed before REM CM0=]A and repeated before REM CM0=]B. You are now at level 0 menu. This is the tedious part of the step-by-step execution menu.
Cannot return to the previous menu.
You can try the parallel execution menu.
Floor 56 Posted 2006-12-26 04:54 ·  中国 四川 成都 电信
初级用户
Credits 66
Posts 24
Joined 2006-12-14 01:18
19-year member
UID 73443
Gender Male
Status Offline
I tested the support path of ConMenu.sys and can place it in another directory, so the root directory is cleaner.

Thank you for your guidance.

[ Last edited by zihan on 2006-12-27 at 11:18 AM ]
Floor 57 Posted 2006-12-29 23:39 ·  中国 四川 成都 电信
初级用户
Credits 66
Posts 24
Joined 2006-12-14 01:18
19-year member
UID 73443
Gender Male
Status Offline
Hope YAYA can add a function to conmenu.sys:

The title and footer are expected to be able to control the display in lowercase like ECHO.SYS. Otherwise, if there are English words in the title or footer, they will all be displayed in uppercase. Can the function of ECHO.SYS also be integrated and controlled by parameters?

Express my gratitude again
Floor 58 Posted 2007-01-14 03:19 ·  中国 广东 湛江 电信
初级用户
Credits 61
Posts 33
Joined 2007-01-13 03:02
19-year member
UID 76342
Gender Male
Status Offline
Suggestion as the title.

Reasons:
1. The config.sys of DOS allows using semicolons to represent comments;
2. Can significantly reduce the size of Config.sys, which is very helpful when making boot disks to compress file sizes. It can be described as "every inch of space is precious";
3. Concise.
Floor 59 Posted 2007-02-15 02:00 ·  中国 北京 丰台区 联通
初级用户
Credits 152
Posts 21
Joined 2003-01-21 00:00
23-year member
UID 777
Gender Male
Status Offline
It's so happy to support Chinese
Floor 60 Posted 2007-02-20 05:43 ·  中国 台湾 台北市 中华电信
初级用户
Credits 44
Posts 21
Joined 2006-12-17 19:34
19-year member
UID 73816
Gender Male
Status Offline
Give yaya a small suggestion:
Personally, the result I used is very good, but there is a small suggestion for use:
I wonder if the line spacing of each line can be modified? Then it won't look so cramped.....
Forum Jump: