help.hlp (Table of Contents; Topic list)
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.
MENUDEFAULT--Example
Syntax
────────────────────────────────────────────────────────────────────────────
 
                            MENUDEFAULT──Example
 
The following menu block defines three menu items, sets the default item to
"full_config," and sets the timeout to 30 seconds:
 
    [menu]
    menuitem=base_config,Base configuration only
    menuitem=full_config,Normal configuration
    menuitem=network,Normal configuration with network
    menudefault=full_config,30
 
When MS-DOS starts and reads this menu block, it displays the following
menu:
 
    MS-DOS Startup Menu
    ===================
 
       1. Base configuration only
       2. Normal configuration
       3. Normal configuration with network
 
    Enter a choice: 2                       Time remaining: 30
 
After displaying this menu, MS-DOS waits 30 seconds; if no other item is
selected, MS-DOS then starts the computer using the commands in the
[full_config] configuration block.
 
                                      ♦