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:
- The INCLUDE
command, which includes the contents of one
configuration block in another. This command cannot be
included in a menu block.
- The MENUITEM
command, which defines an item on the menu.
- The MENUDEFAULT
command, which specifies the default menu item.
- The NUMLOCK
command, which specifies the state of the NUM LOCK key
when the startup menu appears. (Although
NUMLOCK can be used
anywhere in the CONFIG.SYS file, it is especially
useful when defining a startup menu.)
- The SUBMENU
command, which defines a submenu.
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:
- 0 Black
- 1 Blue
- 2 Green
- 3 Cyan
- 4 Red
- 5 Magenta
- 6 Brown
- 7 White
- 8 Gray
- 9 Bright Blue
- 10 Bright Green
- 11 Bright Cyan
- 12 Bright Red
- 13 Bright Magenta
- 14 Yellow
- 15 Bright White
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
Last Updated: 2003/07/28
Direct corrections or suggestions to:
Rick Lively