Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
MENUCOLOR
◄Example►
────────────────────────────────────────────────────────────────────────────
MENUCOLOR
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
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" later in this
topic.
y
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" later
in this topic. The y value is optional; if you do not specify a value,
MS-DOS displays the specified text color on a black background.
Be sure to specify different values for x and y, or the text will not be
readable.
Color Values
Valid color values are from 0 to 15, as follows:
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 Yellow
7 White 15 Bright white
Note: On some displays, colors 8 through 15 blink.
Related Commands
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>
♦