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-23 20:48
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Config Chinese menu-driven Confect.sys (updated to version 4.3) View 29,590 Replies 117
Floor 61 Posted 2009-01-06 16:49 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Originally posted by wuchan at 2009-1-6 16:41:
55555. I'm dizzy, it's so simple...
It's not directly selecting with the cursor...


The earliest confect sub-item only had multiple selections. Which ones to select cannot use the Enter key, so......
三川一笑
Floor 62 Posted 2009-01-08 02:22 ·  中国 福建 厦门 电信
初级用户
★★
Credits 156
Posts 76
Joined 2007-08-20 11:52
18-year member
UID 95399
Gender Male
Status Offline
It's really powerful. Finally saw something super simple that is convenient for us to use. It even supports prompt information. It's really getting closer to the syslinux and grub4dos I use. The building楼主 worked hard.
Floor 63 Posted 2009-01-08 13:46 ·  中国 广东 湛江 霞山区 电信_虹日网吧(建新西路17号)
新手上路
Credits 10
Posts 5
Joined 2007-09-19 08:14
18-year member
UID 97753
Gender Male
Status Offline
Got used to yaya's menu, is it possible to add the function of hidden menu?
Floor 64 Posted 2009-01-09 14:49 ·  中国 广东 中山 电信
高级用户
★★★
Credits 940
Posts 374
Joined 2007-10-17 21:51
18-year member
UID 100011
Gender Male
From 湖南张家界
Status Offline

生命源头 www.shengmingyt.cn
Floor 65 Posted 2009-01-10 02:26 ·  中国 福建 厦门 电信
初级用户
★★
Credits 156
Posts 76
Joined 2007-08-20 11:52
18-year member
UID 95399
Gender Male
Status Offline
Ask for advice:

;

device=\dos\himem.sys /testmemff
device=\dos\emm386.sys noems

dos=high,umb,auto
fcbshigh=4,0
fileshigh=30
buffershigh=30,0
lastdrivehigh=32
stackshigh=9,256

Can this common configuration be placed at the very beginning of config.sys? Or does it have to be placed at the very end?

I saw that in the previous yaya's, it was all executed by placing it at the very beginning?

Just now I paid attention to the reply. It turns out there was an explanation on the second page.

[ Last edited by yjd on 2009-1-10 at 05:50 ]
Floor 66 Posted 2009-01-10 06:15 ·  中国 福建 厦门 电信
初级用户
★★
Credits 156
Posts 76
Joined 2007-08-20 11:52
18-year member
UID 95399
Gender Male
Status Offline
Ask about how many Chinese characters the next line of menu supports.
Floor 67 Posted 2009-01-10 09:27 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Originally posted by yjd at 2009-1-10 02:26:
Ask for advice:

;

device=\dos\himem.sys /testmem:off
device=\dos\emm386.sys noems

dos=high,umb,auto
fcbshigh=4,0
fileshigh=30
buffershigh=30,0
lastdrivehigh=32
stackshigh=9,256 ...


The public configuration can be placed at the front or the back. However, is the end mark of the Confect menu and cannot be placed at the front.

The Confect4.2 menu part can hold 96 unique Chinese characters, and the title and footer can hold 48 unique Chinese characters, totaling 144 Chinese characters.
三川一笑
Floor 68 Posted 2009-01-10 14:23 ·  中国 福建 厦门 电信
初级用户
★★
Credits 156
Posts 76
Joined 2007-08-20 11:52
18-year member
UID 95399
Gender Male
Status Offline
Still not understanding the settings for autoexec.bat and config.sys -_-!!!. . . . .

config.sys:
. . . . omitted
set confect=auto, fully automatic network cloning; Tip: Network cloning fully automatic mode
. . . . omitted
rem

autoexec.bat:
. . . . omitted
goto %confect%
:
echo Please wait..
md x:\ng
echo Please wait....
call x:\ng\netgh.bat
goto exit
. . . . omitted

Know the problem is with rem but don't understand how to set it
Read the explanation on page four but still don't understand -_-!!!
Execution is displayed as shown in the following figure:

[ Last edited by yjd on 2009-1-10 at 14:25 ]
Attachments
snap013.jpg
Floor 69 Posted 2009-01-10 14:36 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Originally posted by yjd at 2009-1-10 14:23:
Still not understanding the settings for autoexec.bat and config.sys -_-!!!.

autoexec.bat:
... omitted
goto %confect%
:
echo Please wait..
md x:\ng
echo Please wait....
call x:\ng\netgh.bat
goto exit
... omitted
...


The problem is with the label in autoexec.bat. The correct label should be:
:auto

Not :
三川一笑
Floor 70 Posted 2009-01-10 20:47 ·  中国 福建 厦门 电信
初级用户
★★
Credits 156
Posts 76
Joined 2007-08-20 11:52
18-year member
UID 95399
Gender Male
Status Offline
Originally posted by sanchuan at 2009-1-10 02:36 PM:

The problem lies in the label in autoexec.bat. The correct label should be:
:auto

Not :

I'm sorry. I made a mistake in writing it. My other menus are written in the format of :dos. But it still doesn't work.

After reading the previous discussion, it was said that it must be in config.sys
Such as:
rem
Do I need to add variables here as well?

My config.sys menu is as follows:
-----------------------------------------------------------------------------------------------
DEVICE=confect.sys /m

rem
set alHead=6
set align=8,1
set alNote=6
set shortcut=a,1
set color=2,8,8,8
set default=1,30,8
set heading=
set heading= Common Maintenance Tools
set heading====================================
set heading=
set endnote=Use the ↑→↓ or ← keys to move the bright bar, or use keys like A, B, C... to select the main items
set endnote=Set (or clear) options with number keys or space bar, and press Enter key to confirm.

set confect=dos,DOS Toolbox;

rem
device=\soft\UMBPCI.SYS

rem
SHELL=command.com /P /E:640
DEVICE=a:\soft\HIMEM.SYS /TESTMEM:OFF
dos=NOAUTO,high,umb
files=80
stackshigh=9,256
lastdrive=z
buffers=20,8
numlock=on
-----------------------------------------------------------------------------------------------
autoexec.bat is as follows:
-----------------------------------------------------------------------------------------------
SET CONFIG=%CONFECT%
SET CONFECT=
set EXPAND=YES
a:\soft\xmsdsk 10240 x: /y >NUL
a:\soft\FINDRAMD.EXE >nul
path=a:\;a:\soft;x:\;x:\lan;x:\tmp >nul
md x:\Tmp >nul
md x:\soft >nul
set temp=x:\Tmp
set tmp=x:\Tmp

goto %confect%

:dos
call m.bat
goto exit

Still getting the prompt:
goto
label not found

[ Last edited by yjd on 2009-1-10 at 20:51 ]
Floor 71 Posted 2009-01-10 21:04 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Originally posted by yjd at 2009-1-10 20:47:

After reading the previous discussion, it was said that it must be in config.sys
Such as:
rem
Do you need to add variables here as well? ...


Within the rem configuration block, variables are set as needed, not necessarily something that must be added.

The main item in the confect menu actually contains a variable, for example:
set confect=auto, ..... Note: The part before the comma is the standard variable

In autoexec.bat, goto %confect% ,the system will automatically replace it with goto auto.
三川一笑
Floor 72 Posted 2009-01-10 21:10 ·  中国 福建 厦门 电信
初级用户
★★
Credits 156
Posts 76
Joined 2007-08-20 11:52
18-year member
UID 95399
Gender Male
Status Offline
Thank you very much to the author for coming to answer. Then it means that my config.sys and autoexec.bat are written correctly. Why is there still a prompt that label not found. You said earlier that there was no selected sub-item. I only have a current main item here. I don't know why....

Also, the previous post wrote rem [dos] while in the 4.2 document you wrote ;[dos]. Which one is correct? Or are both for comments?
Floor 73 Posted 2009-01-10 21:14 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Originally posted by yjd at 2009-1-10 20:47:

The autoexec.bat is as follows:
-----------------------------------------------------------------------------------------------
SET CONFIG=%CONFECT%
SET CONFECT=
set EXPAND=YES
a:\soft\xmsdsk 10240 x: /y >NUL
a:\soft\FINDRAMD.EXE >nul
path=a:\;a:\soft;x:\;x:\lan;x:\tmp >nul
md x:\Tmp >nul
md x:\soft >nul
set temp=x:\Tmp
set tmp=x:\Tmp

goto %confect%

:dos
call m.bat
goto exit

Still prompting:
goto
label not found
...



The problem is at the final goto exit —— the label :exit is not found

After goto is a label for the exit. There should be a corresponding label in Autoexec.bat

According to your situation, you should add a line at the end:
:exit

Below this line of label, you can add commands according to the situation, or you can write nothing


Regarding rem and semicolon, in the config text, they mean the same thing, playing the role of comments; and confect is using this point to drive the custom menu.

[ Last edited by sanchuan on 2009-1-10 at 21:20 ]
三川一笑
Floor 74 Posted 2009-01-10 21:26 ·  中国 福建 厦门 电信
初级用户
★★
Credits 156
Posts 76
Joined 2007-08-20 11:52
18-year member
UID 95399
Gender Male
Status Offline
I don't know why it became like this... -_-!!!
It's solved. Saving the file again with Notepad is fine -_-!!!



[ Last edited by yjd on 2009-1-11 at 04:42 ]
Floor 75 Posted 2009-01-12 03:19 ·  中国 重庆 电信
初级用户
Credits 20
Posts 8
Joined 2006-11-13 03:26
19-year member
UID 70391
Gender Male
Status Offline
Strange phenomenon, can't figure it out all the time, please give guidance.

According to the instructions, I used the /m parameter to prepare to generate a small font (I understand that it is only the characters included in the menu, so that the space for starting the software can be greatly saved)
DEVICE=DRV\CONFECT.SYS /m A:\HZK16
The result shows chaotic graphics, see the picture. Check the root directory, and there is no confect.dot file generated.

Cancel this parameter, everything is normal.

Is my understanding wrong?

Forum Jump: