MenuColor

Index
Used to set the colours of a Config.sys menu.

Syntax

MENUCOLOR=textcolour[,background]
textcolour Valid values are 0 to 15 (see below)
background Valid values are 0 to 15 (see below); default value is 0 (black).

ValueColour
0Black
1Blue
2Green
3Cyan
ValueColour
4Red
5Magenta
6Brown
7White
ValueColour
8Grey
9Bright Blue
10Bright Green
11Bright Cyan
ValueColour
12Bright Red
13Bright Magenta
14Yellow
15Bright White

Notes

  1. The MenuColor statement can only be used in a [menu] or [submenu] block in Config.sys.

  2. If a menu block does not include MenuColor statement, the screens are displayed as white text (7) on a black background (0).

  3. If a background colour is specified, there should be no space between textcolour and the comma and background.

  4. Any syntactical error in a MenuColor statement causes the whole statement to be ignored without any error messages.

  5. Colours specified in a MenuColor statement persist through all Dos screens until otherwise modified. Loading ansi.sys or a CLS command will reset the colours to the default white on black.

  6. Setting a background colour to a "bright" colour (8-15) may cause the text to blink on some machines.

See Configuration Menu Statements for example.


This page last revised:
November 28, 2001.