Computer and Software Support


DOS Command menuitem

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.


 

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.

This page is from http://www.easydos.com. I pasted it on my website to avoid possible broken links. For further help with DOS commands, Check easydos.com out.