Site hosted by Angelfire.com: Build your free website today!

MS-DOS Internal Commands

The MENUDEFAULT Command

Description:

Specifies the default menu item on the startup menu and sets a timeout value if desired. You can use this command only within a menu block in your config.sys file.

Command Syntax:

MENUDEFAULT=blockname[,timeout]

Explanation of Syntax:

blockname specifies the default menu item by its associated configuration block.The block must be defined elsewhere in the CONFIG.SYS file. When MS-DOS displays the startup menu, the default menu item is highlighted and its number appears after the "Enter a choice" prompt.
[timeout]determines how many seconds MS-DOS waits before starting the computer with the default configuration. If you don't specify a timeout value, MS-DOS does not continue until the ENTER key is pressed. You can specify a timeout value from 0 to 90 seconds. A timeout of 0 forces automatic selection of the default, effectively bypassing the menu display.

If you do not use this command, MS-DOS sets the default to item 1.

Command Use:

This command can only be used in the config.sys file.