Supervising the Network

6-17
Creating Menus
Using the NMENU Commands
Using EXEC
EXEC must follow the ITEM to which it applies. It must also follow other
control commands needed by ITEM.
Example
To load Word®5.0 from a menu, include in the menu file the two following
lines:
ITEM Word 5.0
EXEC Word5
LOAD
Instructs NMENU to execute a separate menu file.
Command Format
LOAD filename
Replace filename with the name of another NMENU program.
If you have several menu programs created with the .DAT extension, use this
command to call another menu program from the active menu program.
LOAD always calls menus by their filename, not by number.
Using LOAD
Use this command when you have multiple menu programs defined.
Although you can define up to 255 menus per source file, smaller separate
files are easier to manage and update.
EXEC EXIT Exits the user from NMENU, but leaves the user
logged in to NetWare. For security reasons, users
cannot access the NetWare prompt unless this
command is included in the menu.
EXEC
LOGOUT
Exits the user from NMENU and logs the user out of
the network, leaving the user at the DOS prompt. (See
“Setting Up the User Environment” in this chapter.)
Table 6-4 EXEC Command Options
EXEC option Explanation