MENUCOLOR= (CONFIG.SYS Command)
Compatibility: 6.0+
Purpose: Chooses screen colors for MultiConfig Menu display.
Syntax: MENUCOLOR=frgnd[,bkgnd]
ÛÝParametersÞÛ
frgnd specifies a foreground (text) color number (0 to 15).
bkgnd specifies a background color number (0 to 15; default=0).
ÚÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
Color Codes ³ 0 ³ Black ³ 8 ³ Gray ³
³ 1 ³ Blue ³ 9 ³ Bright Blue ³
³ 2 ³ Green ³ 10 ³ Bright Green ³
³ 3 ³ Cyan ³ 11 ³ Bright Cyan ³
³ 4 ³ Red ³ 12 ³ Bright Red ³
³ 5 ³ Magenta ³ 13 ³ Bright Magenta ³
³ 6 ³ Brown ³ 14 ³ Bright Yellow ³
³ 7 ³ White ³ 15 ³ Bright White ³
ÀÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Note: Don't put any spaces after the comma; use frgnd,bkgnd with no
intervening spaces (it's a bug in DOS 6.0, folks).
ÛÝTECH NotesÞÛ
þ Notice that the color codes correspond to Video Attributes.
þ At system startup, the video system is still in its default setting in
which character-blink is active rather than background-bold (see
INT 10H 1003H). Thus, if you use 8-15 as bkgnd, you will actually see
a background with the corresponding 0-7 color and the foreground
characters will blink.
þ Screen colors are reset when ANSI.SYS device driver is loaded. You may
want to rearrange the order of your DEVICE= lines to minimize the
visual impact. Or use something like...
@Echo <[nnm (nn is an ANSI color code. See ANSI Escape Sequences)
...in your AUTOEXEC.BAT file.
See Also: MultiConfig Menus
CONFIG.SYS Commands
-*-