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 23:39
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » How should autoexec.bat be written for the ConfigP.Mnu configuration menu? View 1,320 Replies 3
Original Poster Posted 2007-09-29 10:15 ·  中国 广东 阳江 电信
中级用户
★★
Credits 300
Posts 107
Joined 2007-09-15 17:34
18-year member
UID 97469
Gender Male
Status Offline
Floor 2 Posted 2007-09-29 12:40 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Add this in autoexec.bat
if %cm%#==cdrom# goto xxxx
Floor 3 Posted 2007-09-29 18:18 ·  中国 广东 阳江 江城区 电信
中级用户
★★
Credits 300
Posts 107
Joined 2007-09-15 17:34
18-year member
UID 97469
Gender Male
Status Offline
DefaultItem=2,5=load vide-cdd
; item=3,5=load aspicd
; item=4,5=load usbcd

What does the 5 at the end mean?
Floor 4 Posted 2007-09-30 16:52 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
If that item is selected in the menu (for example, the default item), then the contents of configuration blocks (block)2 and 5 are kept; the contents of configuration blocks that were not selected will be masked out.
Forum Jump: