Supervising the Network

6-15
Creating Menus
Using the NMENU Commands
List items appear on the menu in the same order as they appear in the source
file. They are not displayed in alphabetical order.
Each item is automatically assigned an alphabetic selection character.
If you want to assign a different character, place a carat (^) and the character
you want in front of the item name (no spaces).
NOTE: Forcing the selection character shortens the maximum line length to 38 characters.
If you assign any selection letters, you should assign a letter to all menu list
items. Otherwise an item may be automatically assigned a letter you
assigned previously.
Example
For example, if the first menu item is “Word Processing” and you want to
assign it the letter “W” instead of the automatic letter designation of “A,”
type
ITEM ^WWord Processing
NMENU Control Commands and Options
Control commands tell NMENU how to perform an action, such as
displaying a submenu or user prompt, performing a DOS function, or
starting an application. You also use these commands to tell the menu
program how to process information and execute commands.
Table 6-3 gives an overview of the control commands. Detailed information
about each command follows the table.
Table 6-3 NMENU Control Commands
Command Explanation
EXEC Executes a DOS or NetWare command following an ITEM
statement.
SHOW Displays a submenu from the same .DAT file.
LOAD Calls and displays a menu as a submenu from a different
.DAT file than the one you are running.