Supervising the Network
6-28
Creating Menus
Converting Old Menu Files
3 Follow the same six steps explained in “Menu Creation Steps” in this chapter.
Example
To help you see the differences between MENU and NMENU files, Figure
6-11 shows a part of the file for the menu in Figure 6-3.
The figure shows both the .MNU and the unedited .SRC file formats. They
are shown side-by-side to help you make the comparison.
The “After Conversion (.SRC)” side has not yet been edited. Try to find
changes to make the file execute properly and efficiently. Look for
commands that are no longer supported in NetWare 4 and replace them with
appropriate commands. One example is SLIST, which must be replaced with
NLIST SERVER.
If you create your own file to test the .SRC file, remember to create some
text file(s) to be displayed by the TYPE command.
Figure 6-11 Conversion Scripts
Before Conversion (.MNU)
%Questions Questions Questions!,12,20,2
1. Who Am I?
whoami
pause
2. Where Am I?
type where.txt
pause
3. Am I Alone?
userlist
pause
4. What Am I Doing Here?
type what.txt
pause
5. What Can I Do?
%Your Choice
6. What Next?
%What Next
After Conversion (.SRC)
MENU 01,Questions Questions Questions!
ITEM Who Am I? { }
EXEC whoami
EXEC pause
ITEM Where Am I? { }
EXEC type where.txt
EXEC pause
ITEM Am I Alone? { }
EXEC userlist
EXEC pause
ITEM What Am I Doing Here? { }
EXEC type what.txt
EXEC pause
ITEM What Can I Do? { }
SHOW 02
ITEM What Next? { }
SHOW 03