Home > Commands A-M > Configuration M

MENUCOLOR


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Sets the text and background colors for the startup menu. You can use this command only within a menu block in your CONFIG.SYS file.

The startup menu is a list of choices that appears when you start your computer. You define a startup menu by using special CONFIG.SYS commands. Each item on the menu corresponds to a set of CONFIG.SYS commands called a "configuration block." A startup menu makes it possible to start your computer with a variety of configurations. For more information about defining multiple configurations, see the chapter "Configuring Your System" in the MS-DOS User's Guide.


Syntax

MENUCOLOR=x[,y]


Parameters
x (v6.0)
Specifies the color of the menu text. You can specify a value from 0 to 15; For a list of values and colors, see "Color Values".
y (v6.0)
Specifies the color of the screen background. You can specify a value from 0 to 15; For a list of values and colors, see "Color Values". The y value is optional; if you do not specify a value, the operating system displays the specified text color on a black background.

Switches

none.


Related

The MENUCOLOR command is one of six special CONFIG.SYS commands for defining startup menus and multiple configurations. The other commands are as follows:

For an overview of the procedure for defining multiple configurations, see the topic "Commands for Defining Multiple Configurations".


Notes

Be sure to specify different values for x and y, or the text will not be readable.

Color Values:

Note: On some displays, colors 8 through 15 blink.


Examples

This MENUCOLOR command sets the menu text to bright white and the screen background to blue:

    MENUCOLOR=15, 1

Errorlevels

none.


Availability
External
DOS
v6.0 v6.10 v6.2 v6.21 v6.22 v6.23 v7.00 v7.0R1 v7.10 v8.00
Windows
none
Windows NT
none