Supervising the Network
6-24
Creating Menus
Creating a Menu File
Example 4: Combining DOS and NetWare Commands
Users can accomplish more work when access to DOS and NetWare
functionality is combined in the same menu, as shown in Figure 6-10.
Figure 6-10 Combining Commands in a Script
Menu 01,User Options
Item Utilities
Show 10
Item DOS Prompt
Exec DOS
Item Log out of the network
Exec Logout
Menu 10,Utilities
Item ^1NetWare Menu Utilities
Show 12
Item ^2NetWare Command Line Utilities
Show 14
Menu 12,NetWare Menu Utilities
Item NETADMIN {Batch}
Exec netadmin
Item FILER {Batch}
Exec filer
Item NETUSER {Batch}
Exec netuser
Menu 14,NetWare Command Line Utilities
Item NLIST {show}
Geto Class & Option: { } 25,user /a, {}
Exec nlist
Item COPY Files {pause}
Getp Enter Source { } 25,, {}
Getp Enter Destination { } 25,, {}
Exec ncopy %1 %2
Exec dir %2 /w
Item Display a MAP listing {show pause}
Exec map