Defines an item on the startup menu. You can use this command only within a menu block in your CONFIG.SYS file. You can have up to nine menu items per menu.
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.
The MENUITEM 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".
Defining menu blocks A menu block is a set of menu-definition commands that begins with a block header--the name of the block enclosed in square brackets. To have a startup menu, your CONFIG.SYS file must contain a menu block that has the [menu] block header.
You can use the SUBMENU command to define submenus. Each submenu has its own menu block, which can be named anything you want.
A menu block must contain at least one MENUITEM or SUBMENU command.
Number of items on the startup menu The operating system displays the menu items in the order they appear in the menu block and numbers them automatically. The first menu item is always number 1 on the menu; there can be up to nine items. If you need to define more than nine menu items, use the SUBMENU command.
This [menu] block defines a startup menu with two items, Apples and Oranges:
[menu] MENUITEM=Apples MENUITEM=Oranges
When the operating system starts, the menu will appear as follows:
MS-DOS Startup Menu =================== 1. Apples 2. Oranges Enter a choice: 1
This [MENU] block defines a startup menu with three items and specifies menu text for each item:
[menu] MENUITEM=base_config,Base configuration only MENUITEM=full_config,Normal configuration MENUITEM=net_config,Normal configuration with network
The first item corresponds to the [base_config] configuration block, the second to the [full_config] block, and the third to the [net_config] block. When the operating system starts, it displays the following menu:
MS-DOS Startup Menu =================== 1. Base configuration only 2. Normal configuration 3. Normal configuration with network Enter a choice: 1