MENUITEM

The description below is from the book
DOS the Easy Way by Everett Murdock Ph.D.

CLICK HERE for information about downloading the book.

Type: Internal (6.0 and later)

Syntax:

MENUITEM=blockname, [menutext]

Purpose: Used in the CONFIG.SYS file to create a start-up menu from which you can select a group of CONFIG.SYS commands to be processed upon reboot.

Discussion

The MENUITEM command can be used only within a menu block in your CONFIG.SYS file. menutext tells DOS the text to display for each option. Up to nine menu options can be displayed in each menu. blockname tells DOS the name of the configuration block that should be executed when the menu item is selected.

For more information about the MENUITEM command, see Chapter 6, Tips for Advanced Users, in the downloadable book DOS the Easy Way.

Options

blockname - Specifies the name of the configuration block that DOS will execute when a menu item is selected. The name can be up to 70 characters long but cannot include the following characters:

\ / , ; = [ ]

menutext - Specifies the text you want to display as the menu option. You can use up to 70 characters, including spaces. If you do not specify the menu text, the blockname will be displayed in the menu.

Example

When creating a menu of CONFIG.SYS options to be displayed upon startup, you can create a menu item for the NORMAL block of options to be loaded by adding this line within a menu block:

menuitem=normal, Standard Setup

If this option is selected, the block of configuration options in the CONFIG.SYS file labeled NORMAL will be loaded. The words Standard Setup will be displayed as the option text.




Back to the Easy DOS Command Index