Supervising the Network
6-16
Creating Menus
Using the NMENU Commands
EXEC
Instructs NMENU to perform the command that follows EXEC.
Command Format
EXEC command
Replace command with the command required to execute the ITEM. This
could be the name of an executable file, a DOS or NetWare command, or
one of the options associated with EXEC. The EXEC options are described
in Table 6-4.
GETO Requests information from the user before a menu item is
executed. User input is optional. (See “GETx (GETO,
GETP, GETR)” in this chapter.)
GETP Requests information from the user before a menu item is
executed. User input is required for the program to proceed.
Assigns a variable (%n) to the information so it can be used
again. (See “GETx (GETO, GETP, GETR)” in this chapter.)
GETR Requests information from the user before a menu item is
executed. User input is required for the program to proceed.
(See “GETx (GETO, GETP, GETR)” in this chapter.)
Table 6-4 EXEC Command Options
EXEC option Explanation
EXEC CALL Runs a batch file and returns to NMENU. If you want
to return to NMENU after a batch file executes, use this
command to call batch files.
EXEC DOS Runs the DOS command processor. If this command is
used, the menu user must type “EXIT” when DOS
processing is completed in order to return to NMENU.
Table 6-3 NMENU Control Commands
Command Explanation