If you are storing users' temporary files in a network directory, place the following commands in the login script:
SET S_FILEDIR= SET S_FILE=For example, if you have created a subdirectory called TEMP under a MENUS directory, you would type
SET S_FILEDIR="Z:\\MENUS\\TEMP\\" SET S_FILE="%STATION"These commands point to the directory where temporary files are stored and create unique files in the temporary directory for each workstation ID number. The trailing backslash on the S_FILEDIR path is required.
If the user will be using a menu with the logout option, set the S_FILEDIR environment variable to a path on the user's local drive. Set the S_FILE to ``%STATION''.
A copy of the MENU-X.BAT file needs to be in the SYS:LOGIN directory if the NMENU LOGOUT option is going to be used.
EXEC LOGOUT gives the message ``Batch file not found'' unless the temporary directory is on a local drive and MENU_X.BAT is in the LOGIN directory.
If you want the menu to execute from within a login script, add the EXIT login script command. For example, to execute the ACCOUNT menu from a user's login script, add the following line to the login script:
EXIT "NMENU ACCOUNT"