### Features
1. Common configuration menus are executed step by step and cannot be returned, like a series. When the nesting level is large, the menu items will show a trend of being magnified by the level, making menu writing more cumbersome and having more repeated items. This configuration menu is in a parallel relationship, the menu writing is concise, and the readability is strong, providing greater flexibility for menu interface layout.
2. All selectable items are arranged on 1 interface, which is convenient to read and select quickly.
3. Works in 800×600 16-bit enhanced color (mode 114).
4. Can load jpg format background images. If no background image is loaded, it is replaced by the background color.
5. Can load Chinese character fonts (hzk16/gbk16 fonts, compressed/non-compressed fonts, built-in fonts), and embed Chinese and English character display programs, providing a good platform for displaying Chinese menus.
6. Can shield the display information in the processing of Config.sys.
### Brief Description
1. Option groups are divided into 2 types: check-type option groups (CheckOption), and radio-type option groups (RadioOption).
- Check-type option groups are used to load compatible drivers, and can be not selected or all selected.
- Radio-type option groups are used to load mutually exclusive drivers, and 1 item should be selected and only 1 item can be selected.
2. Items are divided into 2 types: pre-load items (LoadItem), and ordinary items (Item).
- Pre-load items are the items that are loaded by default at startup.
3. Items can be associated, and there are 2 types: selected association (relate), and unselected association (unrelate).
- Selected association: The master control is selected, and the controlled one is valid.
- Unselected association: The master control is selected, and the controlled one is invalid.
- If it is valid, it can be selected, and then there are selected/unselected distinctions.
- If it is invalid, it cannot be selected, and all are treated as unselected.
- Using selected association, multi-level menus can be composed. Using unselected association, relevant items can be shielded.
4. Configuration block (block) is a group of drivers organized together as needed. Parameters can be set in the configuration block, and 'AutoExec.bat' can be remotely controlled. Public configuration blocks can be placed before 'block=0' and after 'block=end'.
5. If no Chinese font is loaded, English is displayed.
### Usage Method
1. Option group selection method
- Press Tab or ` key
2. Item selection method
- Cycle selection in order by pressing the direction keys
3. Item setting method
- Check-type option group: Press space or Enter key to select/clear
- Radio-type option group: While pressing the direction key, it is selected
4. Menu exit method
- Press Esc or Backspace key
- When there is only 1 group of radio-type option groups, press space or Enter key
- Select the 'Exit' button, press space or Enter key
5. Switch parameters
- /s: Shield the display information of config.sys.
- /u: Remove the shield.
6. English letter case conversion
- In the same line, it is uppercase by default, and converted when encountering ^.
- Example: c^onfig^p.m^nu is displayed as ConfigP.Mnu
### Syntax Description
1. Option group
; Option group sequence number CheckOption=upper left x, upper left y, lower right x, lower right y=item arrangement=label color, label content
; Option group sequence number RadioOption=upper left x, upper left y, lower right x, lower right y=item arrangement=label color, label content
Option group type CheckOption check-type option group; RadioOption radio-type option group
Option group sequence number 0-99 sequential numbering
Option group range Upper left is the origin, horizontal pixel x(0-799), vertical pixel y(0-599)
Item arrangement Number of columns in 1 line(1,2,3,...)
Label color Red(00-ff) Green(00-ff) Blue(00-ff)
Label content
Example: =100,100,700,140=3=ffff00, Upper memory management
=100,170,700,250=4=, Load CD-ROM driver
2. Item color
; color=background color of unselected item, foreground color of unselected item, background color of selected item, foreground color of selected item
Default Black, White, White, High White
Background/foreground color Red(00-ff) Green(00-ff) Blue(00-ff)
Background color of unselected item is also the screen background (when no image is loaded or part of the image is loaded)
When background color of unselected item = background color of selected item, when loading the image, the characters use the image as the background
When background color of unselected item ≠ background color of selected item, when loading the image, the characters use the background color of selected item instead of the image background
Example: =000000,808080,808080,ffffff
=000080,808080,000080,ffffff
3. Font
; rem font=font name
Font type hzk16/gbk16 compressed/non-compressed built-in font (can be used for any language)
Font name Can have a path
Built-in font format Offset Length Description
00 2 bytes Number of characters(x)
02 2x bytes Character internal code(8100-ffff)
2x+02 32x Character dot matrix image, horizontal bit reversal
Note: 16j.dot/16g.dot are attached as compressed hzk16/gbk16 fonts
Mkfon.com can be used to generate built-in fonts in this version
Example: =16g.dot
4. Dynamic item prompt
; rem prompt=column=prompt color
Default 8 columns, foreground color of selected item
Prompt position Column(1-83) Line at the time position
Prompt color Red(00-ff) Green(00-ff) Blue(00-ff)
Example: =3=ff0000
==ff0000
=
5. Waiting time
; time=line=time, label
Default 33 lines 60 seconds
Time position Line(1-33)
Time length Seconds(0-60)
Time label "Remaining time"
Example: =32=30, Remaining time
=32=30
=32
=
6. Background image
; image=horizontal pixel offset, vertical pixel offset=name
Default Offset 0,0
Image position Upper left is the origin(0,0), horizontal pixel(0-799), vertical pixel(0-599)
Image name jpg format, maximum pixel 800*600
Example: =0,0=lt.jpg
==lt.jpg
=500,100=xy.jpg
7. Association
; relate=master control item sequence number, master control item sequence number,...=controlled item sequence number, controlled item sequence number,...
Association type relate selected association, unrelate unselected association
Example: =1=3,4 =1,2=3,4
8. Comment
; note=line, column=comment color, comment content
Comment position Line(1-33), column(1-100)
Comment color Red(00-ff) Green(00-ff) Blue(00-ff)
Comment content
Example: =2,20=800000, Chinese MSDOS_7.1 boot disk
=2,20=, Chinese MSDOS_7.1 boot disk
9. Item
; Item sequence number LoadItem=configuration block sequence number, configuration block sequence number,...=item title=item dynamic prompt
; Item sequence number Item=configuration block sequence number, configuration block sequence number,...=item content
Item sequence number 0-99 sequential numbering
Configuration block sequence number The configuration blocks included in this item
Item title
Item dynamic prompt
Example: LoadItem=0,9=Load umbpci=Use upper memory
10. Configuration block
; block=configuration block sequence number
....
; block=end
Configuration block sequence number 0-99 sequential numbering
end Configuration block end symbol
Example: ; block=0
decice=umbpci.sys
set cm=cdrom
; block=1
decice=emm386.exe
...
; block=end
### Other Instructions
1. rem can be replaced by '; '.
2. The label color of the option group (or the comment content color), when all are default, is processed according to the foreground color of the unselected item, otherwise it is processed according to the label color of the previous option group (or the comment content color).
3. The color can refer to the 'web_216 color table', but is not limited to this table.
Example 1: Features Multi-option groups, load full-screen image
When selecting the 2nd item "Minimum load", the 3rd-20th items are shielded
device=ConfigP.Mnu /s
; color=000099,bbbbbb,000099,ffffff
; prompt=12=ff33ff
; time=32=10, Remaining time
; image=0,0=lt.jpg
; font=16g.dot
; note=2,40=00ffff, Chinese MSDOS_7.1 boot disk
; note=3,30=, ─────────────────────
; note=33,29=00ff00, Press T^ab to select item group, press direction key to select item, press Enter to change
; unrelate=2=3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
; 0RadioOption=100,100,700,140=3=ffcc00, Upper memory management
; 0LoadItem=0,20=umbpci=Use upper memory
; 1item=1,20=emm386=Use upper memory, expand memory
; 2item=21=Minimum system
; 1CheckOption=100,170,700,250=4=, Load CD-ROM driver
; 3LoadItem=2=udvd
; 4Item=3=qcdrom
; 5Item=4=gcdrom
; 6Item=5=uide
; 7item=6=vide-cdd
; 8item=7=aspicd
; 9item=8=usbcd
; 2CheckOption=100,280,700,320=4=, Load usb driver
; 10item=9=usbaspi
; 11item=10=di1000dd
; 12item=11=aspiohci
; 13item=12=aspiuhci
; 3CheckOption=100,350,700,450=4=, Item support
; 14Loaditem=13=Long file name
; 15Loaditem=14=Chinese=Load acios, support gbk
; 16Loaditem=15=Mouse
; 17item=16=Cache=When installing Windows under DOS, you must run this disk cache program first to speed up the installation.
; 18item=17=Vpc9x file sharing=Share folder in vpc5.2
; 19item=18=Vpc2k7 file sharing=Share folder in vpv2007
; 20item=19=NTFS partition=NTFS partition read and write support
device=himem.sys
; block=0
device=umbpci.sys
; block=1
device=emm386.exe NOEMS
; block=2
device=udvd.sys /d:udv-cd
; block=3
device=qcdrom.sys /d:qcd-cd
; block=4
device=gcdrom.sys /d:gcd-cd
; block=5
DEVICE=uide.sys /s40 /d:uid-cd
; block=6
device=vide-cdd.sys /d:vid-cd
; block=7
device=aspicd.sys /d:asp-cd
; block=8
device=usbcd.sys /d:usb-cd
; block=9
device=usbaspi.sys /r /NORST
; block=10
device=di1000dd.sys
; block=11
device=aspiohci.sys /int /all
; block=12
device=aspiuhci.sys /int /all
; block=13
set cwjm=1
; block=14
set zw=1
; block=15
set sb=1
; block=16
set gshc=1
; block=17
set vpc=1
; block=18
set vpc=2
; block=19
set ntfs=1
; block=20
dos=high,umb,auto
; block=21
set zx=1
; block=end
fcbshigh=4,0
fileshigh=30
buffershigh=30,0
lastdrive=z
device=ConfigP.Mnu /u
Corresponding autoexec.bat
@echo off
set DIRCMD=/O:N /O:G /P /4
path=a:\;c:\;z:\
if not %zx%#==1# goto cwjm
set zx=
goto end
:cwjm
if not %cwjm%#==1# goto sb
LFNFOR ON
DOSLFN /C- /Z:CP936UNI.TBL > nul
set cwjm=
:sb
if not %sb%#==1# goto gshc
ctmouse > nul
mousclip > nul
set sb=
:gshc
if not %gshc%#==1# goto vpc1
smartdrv /X 4096 2048 > nul
set gshc=
:vpc1
if not %vpc%#==1# goto vpc2
fshare98 > nul
:: idle > nul
set vpc=
goto ntfs
:vpc2
if not %vpc%#==2# goto ntfs
fshare07 > nul
set vpc=
:ntfs
if not %ntfs%#==1# goto zw
call nt.bat > nul
set ntfs=
:zw
if not %zw%#==1# goto gg
call ac.bat > nul
set zw=
:gg
doskey > nul
SHCDX33c /d:?udv-cd /d:?qcd-cd /d:?gcd-cd /d:?uid-cd /d:?vid-cd /d:?asp-cd /d:?usb-cd > nul
ansi > nul
call m.bat
:end
Example 2: Features Only 1 group of radio-type option groups, load partial image
device=ConfigP.Mnu /s
; color=0000bb,bbbbbb,0000bb,ffffff
; time=31=10, Remaining time
; prompt=8=ff33ff
; font=16g.dot
; image=500,100=xy.jpg
; note=2,40=00ffff, Chinese MSDOS_7.1 boot disk
; note=3,30=, ─────────────────────
; note=33,38=00ff00, Press direction key to select item, press Enter to execute
; RadioOption=100,100,450,500=1=cccc00, Select boot mode
; item=0=Protected mode Load EMM386=Use upper memory
; item=0,2,4=Protected mode Load EMM386 and CD-ROM
; item=0,2,3,4=Protected mode Load EMM386, CD-ROM and USB
; item=1=Real mode Load UMBPCI
; LoadItem=1,2,4=Real mode Load UMBPCI and CD-ROM
; item=1,2,3,4=Real mode Load UMBPCI, CD-ROM and USB
device=himem.sys
; block=0
device=emm386.exe noems
; block=1
device=umbpci.sys
; block=2
devicehigh=vide-cdd.sys /d:ide-cd
devicehigh=aspicd.sys /d:scsi-cd
; block=3
device=usbcd.sys /d:usb-cd
device=usbaspi.sys /r
device=aspiohci.sys /int /all
device=aspiuhci.sys /int /all
device=di1000dd.sys
; block=4
set cdrom=1
; block=end
dos=high,umb,auto
fcbshigh=4,0
fileshigh=30
buffershigh=30,0
lastdrivehigh=32
stackshigh=9,256
device=ConfigP.Mnu /u
Example 3: Features Multi-level selection
When selecting the 0th item "DOS Toolbox", the 3rd and 4th items are valid (can be selected)
......
; relate=0=3,4
; RadioOption=100,100,700,140 6,8,10,72=3=ffcc00, Select type
; 0Item==DOS Toolbox
; 1Loaditem=0=Pure DOS
; 2item=3=Jiangmin antivirus
; RadioOption=100,225,700,265=2=ffcc00,DOS Toolbox
; 3LoadItem=1=ghost8.3
; 4item=2=Chinese version DM
........
; block=0
set config=dos
; block=1
set config=ghost
; block=2
set config=dm
; block=3
set config=jm
........
v4.00 2009/4/6
Modified: Changed from display mode 111 (640×480 16-bit enhanced color) to display mode 114 (800×600 16-bit enhanced color) to accommodate more information
Added: Font format, can load hzk16, gbk16 fonts, can load compressed, non-compressed fonts, can load built-in fonts
Added: Dynamic item prompt, convenient for detailed description of item usage
Modified: Can be used normally in virtual machine VM
Modified: The option group position is determined by pixels instead of rows and columns
Modified: Uses protected mode internally, no need to pre-load himem.sys in advance
Modified: The button text is changed from "Continue" to "OK"
Modified: Association algorithm
v4.01 2009/4/26
Modified: Up and down direction keys can move in this column, left and right direction keys can move across rows
Corrected: The number of characters in the item title is limited
Improved: Compatibility with virtual machine
v4.02 2009/5/11
Modified: The association expression can set multiple masters
[ Last edited by yaya on 2009-5-11 at 23:13 ]
1. Common configuration menus are executed step by step and cannot be returned, like a series. When the nesting level is large, the menu items will show a trend of being magnified by the level, making menu writing more cumbersome and having more repeated items. This configuration menu is in a parallel relationship, the menu writing is concise, and the readability is strong, providing greater flexibility for menu interface layout.
2. All selectable items are arranged on 1 interface, which is convenient to read and select quickly.
3. Works in 800×600 16-bit enhanced color (mode 114).
4. Can load jpg format background images. If no background image is loaded, it is replaced by the background color.
5. Can load Chinese character fonts (hzk16/gbk16 fonts, compressed/non-compressed fonts, built-in fonts), and embed Chinese and English character display programs, providing a good platform for displaying Chinese menus.
6. Can shield the display information in the processing of Config.sys.
### Brief Description
1. Option groups are divided into 2 types: check-type option groups (CheckOption), and radio-type option groups (RadioOption).
- Check-type option groups are used to load compatible drivers, and can be not selected or all selected.
- Radio-type option groups are used to load mutually exclusive drivers, and 1 item should be selected and only 1 item can be selected.
2. Items are divided into 2 types: pre-load items (LoadItem), and ordinary items (Item).
- Pre-load items are the items that are loaded by default at startup.
3. Items can be associated, and there are 2 types: selected association (relate), and unselected association (unrelate).
- Selected association: The master control is selected, and the controlled one is valid.
- Unselected association: The master control is selected, and the controlled one is invalid.
- If it is valid, it can be selected, and then there are selected/unselected distinctions.
- If it is invalid, it cannot be selected, and all are treated as unselected.
- Using selected association, multi-level menus can be composed. Using unselected association, relevant items can be shielded.
4. Configuration block (block) is a group of drivers organized together as needed. Parameters can be set in the configuration block, and 'AutoExec.bat' can be remotely controlled. Public configuration blocks can be placed before 'block=0' and after 'block=end'.
5. If no Chinese font is loaded, English is displayed.
### Usage Method
1. Option group selection method
- Press Tab or ` key
2. Item selection method
- Cycle selection in order by pressing the direction keys
3. Item setting method
- Check-type option group: Press space or Enter key to select/clear
- Radio-type option group: While pressing the direction key, it is selected
4. Menu exit method
- Press Esc or Backspace key
- When there is only 1 group of radio-type option groups, press space or Enter key
- Select the 'Exit' button, press space or Enter key
5. Switch parameters
- /s: Shield the display information of config.sys.
- /u: Remove the shield.
6. English letter case conversion
- In the same line, it is uppercase by default, and converted when encountering ^.
- Example: c^onfig^p.m^nu is displayed as ConfigP.Mnu
### Syntax Description
1. Option group
; Option group sequence number CheckOption=upper left x, upper left y, lower right x, lower right y=item arrangement=label color, label content
; Option group sequence number RadioOption=upper left x, upper left y, lower right x, lower right y=item arrangement=label color, label content
Option group type CheckOption check-type option group; RadioOption radio-type option group
Option group sequence number 0-99 sequential numbering
Option group range Upper left is the origin, horizontal pixel x(0-799), vertical pixel y(0-599)
Item arrangement Number of columns in 1 line(1,2,3,...)
Label color Red(00-ff) Green(00-ff) Blue(00-ff)
Label content
Example: =100,100,700,140=3=ffff00, Upper memory management
=100,170,700,250=4=, Load CD-ROM driver
2. Item color
; color=background color of unselected item, foreground color of unselected item, background color of selected item, foreground color of selected item
Default Black, White, White, High White
Background/foreground color Red(00-ff) Green(00-ff) Blue(00-ff)
Background color of unselected item is also the screen background (when no image is loaded or part of the image is loaded)
When background color of unselected item = background color of selected item, when loading the image, the characters use the image as the background
When background color of unselected item ≠ background color of selected item, when loading the image, the characters use the background color of selected item instead of the image background
Example: =000000,808080,808080,ffffff
=000080,808080,000080,ffffff
3. Font
; rem font=font name
Font type hzk16/gbk16 compressed/non-compressed built-in font (can be used for any language)
Font name Can have a path
Built-in font format Offset Length Description
00 2 bytes Number of characters(x)
02 2x bytes Character internal code(8100-ffff)
2x+02 32x Character dot matrix image, horizontal bit reversal
Note: 16j.dot/16g.dot are attached as compressed hzk16/gbk16 fonts
Mkfon.com can be used to generate built-in fonts in this version
Example: =16g.dot
4. Dynamic item prompt
; rem prompt=column=prompt color
Default 8 columns, foreground color of selected item
Prompt position Column(1-83) Line at the time position
Prompt color Red(00-ff) Green(00-ff) Blue(00-ff)
Example: =3=ff0000
==ff0000
=
5. Waiting time
; time=line=time, label
Default 33 lines 60 seconds
Time position Line(1-33)
Time length Seconds(0-60)
Time label "Remaining time"
Example: =32=30, Remaining time
=32=30
=32
=
6. Background image
; image=horizontal pixel offset, vertical pixel offset=name
Default Offset 0,0
Image position Upper left is the origin(0,0), horizontal pixel(0-799), vertical pixel(0-599)
Image name jpg format, maximum pixel 800*600
Example: =0,0=lt.jpg
==lt.jpg
=500,100=xy.jpg
7. Association
; relate=master control item sequence number, master control item sequence number,...=controlled item sequence number, controlled item sequence number,...
Association type relate selected association, unrelate unselected association
Example: =1=3,4 =1,2=3,4
8. Comment
; note=line, column=comment color, comment content
Comment position Line(1-33), column(1-100)
Comment color Red(00-ff) Green(00-ff) Blue(00-ff)
Comment content
Example: =2,20=800000, Chinese MSDOS_7.1 boot disk
=2,20=, Chinese MSDOS_7.1 boot disk
9. Item
; Item sequence number LoadItem=configuration block sequence number, configuration block sequence number,...=item title=item dynamic prompt
; Item sequence number Item=configuration block sequence number, configuration block sequence number,...=item content
Item sequence number 0-99 sequential numbering
Configuration block sequence number The configuration blocks included in this item
Item title
Item dynamic prompt
Example: LoadItem=0,9=Load umbpci=Use upper memory
10. Configuration block
; block=configuration block sequence number
....
; block=end
Configuration block sequence number 0-99 sequential numbering
end Configuration block end symbol
Example: ; block=0
decice=umbpci.sys
set cm=cdrom
; block=1
decice=emm386.exe
...
; block=end
### Other Instructions
1. rem can be replaced by '; '.
2. The label color of the option group (or the comment content color), when all are default, is processed according to the foreground color of the unselected item, otherwise it is processed according to the label color of the previous option group (or the comment content color).
3. The color can refer to the 'web_216 color table', but is not limited to this table.
Example 1: Features Multi-option groups, load full-screen image
When selecting the 2nd item "Minimum load", the 3rd-20th items are shielded
device=ConfigP.Mnu /s
; color=000099,bbbbbb,000099,ffffff
; prompt=12=ff33ff
; time=32=10, Remaining time
; image=0,0=lt.jpg
; font=16g.dot
; note=2,40=00ffff, Chinese MSDOS_7.1 boot disk
; note=3,30=, ─────────────────────
; note=33,29=00ff00, Press T^ab to select item group, press direction key to select item, press Enter to change
; unrelate=2=3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
; 0RadioOption=100,100,700,140=3=ffcc00, Upper memory management
; 0LoadItem=0,20=umbpci=Use upper memory
; 1item=1,20=emm386=Use upper memory, expand memory
; 2item=21=Minimum system
; 1CheckOption=100,170,700,250=4=, Load CD-ROM driver
; 3LoadItem=2=udvd
; 4Item=3=qcdrom
; 5Item=4=gcdrom
; 6Item=5=uide
; 7item=6=vide-cdd
; 8item=7=aspicd
; 9item=8=usbcd
; 2CheckOption=100,280,700,320=4=, Load usb driver
; 10item=9=usbaspi
; 11item=10=di1000dd
; 12item=11=aspiohci
; 13item=12=aspiuhci
; 3CheckOption=100,350,700,450=4=, Item support
; 14Loaditem=13=Long file name
; 15Loaditem=14=Chinese=Load acios, support gbk
; 16Loaditem=15=Mouse
; 17item=16=Cache=When installing Windows under DOS, you must run this disk cache program first to speed up the installation.
; 18item=17=Vpc9x file sharing=Share folder in vpc5.2
; 19item=18=Vpc2k7 file sharing=Share folder in vpv2007
; 20item=19=NTFS partition=NTFS partition read and write support
device=himem.sys
; block=0
device=umbpci.sys
; block=1
device=emm386.exe NOEMS
; block=2
device=udvd.sys /d:udv-cd
; block=3
device=qcdrom.sys /d:qcd-cd
; block=4
device=gcdrom.sys /d:gcd-cd
; block=5
DEVICE=uide.sys /s40 /d:uid-cd
; block=6
device=vide-cdd.sys /d:vid-cd
; block=7
device=aspicd.sys /d:asp-cd
; block=8
device=usbcd.sys /d:usb-cd
; block=9
device=usbaspi.sys /r /NORST
; block=10
device=di1000dd.sys
; block=11
device=aspiohci.sys /int /all
; block=12
device=aspiuhci.sys /int /all
; block=13
set cwjm=1
; block=14
set zw=1
; block=15
set sb=1
; block=16
set gshc=1
; block=17
set vpc=1
; block=18
set vpc=2
; block=19
set ntfs=1
; block=20
dos=high,umb,auto
; block=21
set zx=1
; block=end
fcbshigh=4,0
fileshigh=30
buffershigh=30,0
lastdrive=z
device=ConfigP.Mnu /u
Corresponding autoexec.bat
@echo off
set DIRCMD=/O:N /O:G /P /4
path=a:\;c:\;z:\
if not %zx%#==1# goto cwjm
set zx=
goto end
:cwjm
if not %cwjm%#==1# goto sb
LFNFOR ON
DOSLFN /C- /Z:CP936UNI.TBL > nul
set cwjm=
:sb
if not %sb%#==1# goto gshc
ctmouse > nul
mousclip > nul
set sb=
:gshc
if not %gshc%#==1# goto vpc1
smartdrv /X 4096 2048 > nul
set gshc=
:vpc1
if not %vpc%#==1# goto vpc2
fshare98 > nul
:: idle > nul
set vpc=
goto ntfs
:vpc2
if not %vpc%#==2# goto ntfs
fshare07 > nul
set vpc=
:ntfs
if not %ntfs%#==1# goto zw
call nt.bat > nul
set ntfs=
:zw
if not %zw%#==1# goto gg
call ac.bat > nul
set zw=
:gg
doskey > nul
SHCDX33c /d:?udv-cd /d:?qcd-cd /d:?gcd-cd /d:?uid-cd /d:?vid-cd /d:?asp-cd /d:?usb-cd > nul
ansi > nul
call m.bat
:end
Example 2: Features Only 1 group of radio-type option groups, load partial image
device=ConfigP.Mnu /s
; color=0000bb,bbbbbb,0000bb,ffffff
; time=31=10, Remaining time
; prompt=8=ff33ff
; font=16g.dot
; image=500,100=xy.jpg
; note=2,40=00ffff, Chinese MSDOS_7.1 boot disk
; note=3,30=, ─────────────────────
; note=33,38=00ff00, Press direction key to select item, press Enter to execute
; RadioOption=100,100,450,500=1=cccc00, Select boot mode
; item=0=Protected mode Load EMM386=Use upper memory
; item=0,2,4=Protected mode Load EMM386 and CD-ROM
; item=0,2,3,4=Protected mode Load EMM386, CD-ROM and USB
; item=1=Real mode Load UMBPCI
; LoadItem=1,2,4=Real mode Load UMBPCI and CD-ROM
; item=1,2,3,4=Real mode Load UMBPCI, CD-ROM and USB
device=himem.sys
; block=0
device=emm386.exe noems
; block=1
device=umbpci.sys
; block=2
devicehigh=vide-cdd.sys /d:ide-cd
devicehigh=aspicd.sys /d:scsi-cd
; block=3
device=usbcd.sys /d:usb-cd
device=usbaspi.sys /r
device=aspiohci.sys /int /all
device=aspiuhci.sys /int /all
device=di1000dd.sys
; block=4
set cdrom=1
; block=end
dos=high,umb,auto
fcbshigh=4,0
fileshigh=30
buffershigh=30,0
lastdrivehigh=32
stackshigh=9,256
device=ConfigP.Mnu /u
Example 3: Features Multi-level selection
When selecting the 0th item "DOS Toolbox", the 3rd and 4th items are valid (can be selected)
......
; relate=0=3,4
; RadioOption=100,100,700,140 6,8,10,72=3=ffcc00, Select type
; 0Item==DOS Toolbox
; 1Loaditem=0=Pure DOS
; 2item=3=Jiangmin antivirus
; RadioOption=100,225,700,265=2=ffcc00,DOS Toolbox
; 3LoadItem=1=ghost8.3
; 4item=2=Chinese version DM
........
; block=0
set config=dos
; block=1
set config=ghost
; block=2
set config=dm
; block=3
set config=jm
........
v4.00 2009/4/6
Modified: Changed from display mode 111 (640×480 16-bit enhanced color) to display mode 114 (800×600 16-bit enhanced color) to accommodate more information
Added: Font format, can load hzk16, gbk16 fonts, can load compressed, non-compressed fonts, can load built-in fonts
Added: Dynamic item prompt, convenient for detailed description of item usage
Modified: Can be used normally in virtual machine VM
Modified: The option group position is determined by pixels instead of rows and columns
Modified: Uses protected mode internally, no need to pre-load himem.sys in advance
Modified: The button text is changed from "Continue" to "OK"
Modified: Association algorithm
v4.01 2009/4/26
Modified: Up and down direction keys can move in this column, left and right direction keys can move across rows
Corrected: The number of characters in the item title is limited
Improved: Compatibility with virtual machine
v4.02 2009/5/11
Modified: The association expression can set multiple masters
[ Last edited by yaya on 2009-5-11 at 23:13 ]
Attachments

I wonder if the "OK" button can be hidden. When the style is changed, this button can't be changed with the style, which may cause visual disharmony as a whole.