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-24 16:31
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Newcomer is learning to use ConMenu.sys, and has questions to ask View 2,717 Replies 7
Original Poster Posted 2008-04-27 19:37 ·  中国 广东 韶关 电信
新手上路
Credits 16
Posts 6
Joined 2008-04-26 16:30
18-year member
UID 117027
Gender Male
Status Offline
I use "Generate Chinese CONFIG.SYS.BAT", and the commands inside are:
VTMAGIC.COM -m8 -c2 /t CONFIG.txt
rem Delay for 1 second to wait for processing
.\dos\CHOICE /N /C:12 /T:1,02 ..........
copy CONFIG.NEW CONFIG.SYS
del CONFIG.NEW

The content of the config.txt I wrote is:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= System Maintenance Tool USB Flash Drive
rem caption====================
rem endnote=Press ↑↓ or corresponding letters to select menu items
rem endnote=
rem cm0=[A. NF Network Boot
rem cm0=]A
rem cm0=[B. Intel Network Boot
rem cm0=]B
rem cm0=[end]

After running that batch file, the content of config.sys is:

device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= ‚ÃĄŅƆLJ
rem caption=ȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈ
rem endnote=ɉʊˋ͍̌ΎϏАёҒӓԔՕ
rem endnote=
rem cm0=[A. NF֖ח
rem cm0=]A
rem cm0=[B. Intel֖ח
rem cm0=]B
rem cm0=[end]
The text inside becomes unrecognizable.

I copied someone else's config.txt and modified it (can't change all), and the content is:

device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= System Maintenance Tool USB Flash Drive
rem caption====================
rem endnote=Press ↑↓ or corresponding letters to select menu items
rem endnote=
rem cm0=[A. GRUB Mode, Load MENU.LST Menu, Boot WIN PE and Other System Maintenance Tool Images
rem cm0=]A
rem cm0=[B. Intel Network Boot
rem cm0=]B
rem cm0=[end]

After running the batch file, the content of config.sys is:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= 纮羴聜脙膭艆茊菄
rem caption=葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓
rem endnote=蓧蕣藡虒蛵螏蠌袗褢覓訐詳諘
rem endnote=
rem cm0=[A. GRUB謻讞,貥贆MENU.LST訐詳,跉蹧WIN PE軠轁逓纮羴聜脙膭艆邿酄
rem cm0=]A
rem cm0=[B. Intel帷猗
rem cm0=]B
rem cm0=[end]
This is normal. Why does it not work as long as I change the text in
rem cm0=[A. GRUB Mode, Load MENU.LST Menu, Boot WIN PE and Other System Maintenance Tool Images
here?
Floor 2 Posted 2008-05-04 19:37 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
After I saved your config.txt, .exe and .new were generated, which is normal; adding or modifying characters is also normal. Do you mean there is a problem with generating .exe/.new? Or is it that when loaded as config.sys, Chinese characters are not displayed?
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 3 Posted 2008-05-10 12:49 ·  中国 广东 韶关 电信
新手上路
Credits 16
Posts 6
Joined 2008-04-26 16:30
18-year member
UID 117027
Gender Male
Status Offline
I made a video of an error here. Please take a look at what's going on
ftp://user:user@sgmjh.vicp.net/录像1.exe
Thanks
Floor 4 Posted 2008-05-13 16:01 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
I watched the video and want to remind one thing: absolutely never copy and paste .NEW new code page files in a WINDOWS environment! Because the editor under the window will arbitrarily change the adjacent single-byte English extended ASCII code characters to "ensure" that they become "standard" Chinese double-byte code characters! And this point cannot happen for the Chinese characters formed by two English characters on the VGA character screen! ! !

If this is not the reason, please send the floppy disk .IMG you made to the email born2be@126.com, and I will "visit" and check.
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 5 Posted 2008-05-14 14:50 ·  中国 广东 韶关 电信
新手上路
Credits 16
Posts 6
Joined 2008-04-26 16:30
18-year member
UID 117027
Gender Male
Status Offline
It shouldn't be this problem. I did it in the same way. It's not okay that I don't open the.new file.

The sentence

rem cm0=[A. GRUB mode, load MENU.LST menu, boot WIN PE and other system maintenance tool images

I can't change (the first few words can be removed, the latter can't be moved). As long as this sentence is changed, the.new file I generated can't boot.

I previously downloaded the temp.img of fastslz, and there are two sentences in its config.txt that I can't change

REM CM0=[C. Return to virtual floppy drive
REM INCLUDE0=1
REM CM0=]C

REM CM0=[E. Restart the computer
REM INCLUDE0=1
REM CM0=]E

As long as these two sentences are changed, there is such a problem.

I find it very strange that I must use someone else's menu file (at least one sentence must be used), otherwise my own written menu will definitely not be used.

device=config.exe
device=ConMenu.sys
rem cm0=[A. NF network imaging
rem cm0=]A
rem cm0=[B. Intel network imaging
rem cm0=]B
rem cm0=[end]

This is my simple config.txt. After generation, it just doesn't work. I didn't generate the IMG. I downloaded the temp.img of fastslz, and I used the tools in it to generate config.exe and config.sys. I used the virtual machine hard drive boot (self-made boot, only those three boot files).
Then I tried to make the menu by myself, and this strange problem occurred.
Floor 6 Posted 2008-05-14 20:51 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
I suspect - this should be that CONMENU.SYS has certain requirements for the string after "REM CM0=[": for example, cannot have some English punctuation?

Go ask the expert YAYA! That's the software he developed.
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 7 Posted 2008-05-15 09:23 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Changing it over and over is bound to cause problems. Make a config.sys yourself, then generate .exe and .new files, and change .new to .sys.
Floor 8 Posted 2018-12-24 23:13 ·  中国 广东 佛山 电信
新手上路
Credits 6
Posts 3
Joined 2018-12-23 15:56
7-year member
UID 183296
Gender Male
Status Offline
I also don't understand, let's see how to do it
Forum Jump: