DISPLAY
Command Format
Example
DRIVE
Use DISPLAY to show the contents of a text file when the user logs in.
When you use DISPLAY, all characters in the file, including any printer and
word processing codes, appear. This command works best with an ASCII file.
To display only the text and suppress codes, use
NOTE:
If the given path does not exist or if the file is not found, no error message
appears on the screen when the user logs in.
DISPLAY [path] filename
Replace path with either a drive letter or a full directory path beginning with
the NetWare volume name.
Replace filename with the complete name (including the extension) of the file
that you want to display.
Suppose you put messages in a file called SYSNEW.TXT in the
SYS:PUBLIC\MESSAGES directory, and you want your users to see the
messages when they log in on Monday. Add the following lines to the
container login script:
IF DAY_OF_WEEK="Monday" THEN
DISPLAY SYS:PUBLIC\MESSAGES\SYSNEWS.TXT
END
Use DRIVE to change the default drive while the login script is executing.
If this command is not included in the login script, the default drive will be set
to the first network drive, which is often assigned to the user's home directory
upon login.
If you don't want the default drive to be the first network drive, map a drive
in the login script to the directory you want to be the default; then use the
DRIVE command to change the default drive.
"FDISPLAY" on page
Login Script Commands and Variables
72.
71
Need help?
Do you have a question about the NETWARE 6-DOCUMENTATION and is the answer not in the manual?