oem.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.
SUBMENU--Example
Syntax
────────────────────────────────────────────────────────────────────────────
 
                              SUBMENU──Example
 
The following CONFIG.SYS file defines a main startup menu and one submenu:
 
    [menu]
    menuitem base_config,Base configuration only
    menuitem full_config,Normal configuration
    submenu netmenu, Normal configuration with network
 
    [netmenu]
    menuitem lanman, Start Microsoft LAN Manager
    menuitem vines, Start Banyan VINES
 
    [base_config]
    dos=high
    device=c:\dos\himem
 
    [full_config]
    include=base_config
    dos=umb
    device=c:\dos\emm386 ram
    device=c:\dos\ramdrive.sys 512
 
    [lanman]
    include=full_config
    rem Commands for Microsoft LAN Manager would go here.
 
    [vines]
    include=full_config
    rem Commands for Banyan VINES would go here
 
This CONFIG.SYS file provides a choice of four configurations: a basic
configuration (base_config), a full configuration (full_config), and two
network configurations. Both network configurations include all the commands
in the full configuration; the lanman configuration runs Microsoft LAN
Manager and the vines configuration runs Banyan VINES network software. To
choose a network configuration, the user first selects item 3, "Normal
configuration with network," from the main menu. MS-DOS then displays the
network choices on the submenu.
 
When MS-DOS 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
 
If item 3 is selected, MS-DOS displays the following menu instead:
 
    MS-DOS Startup Menu
    ===================
 
    1. Start Microsoft LAN Manager
    2. Start Banyan VINES
 
    Enter a choice: 1
 
                                      ♦