Example; Write - Novell NETWARE 6-DOCUMENTATION Manual

Table of Contents

Advertisement

Example

WRITE

90
Novell Client for Windows
IMPORTANT:
Use caution when including passwords in a login script. It is more
secure to eliminate the password. Then, at the point in the login script where the
TREE command is executed, the user is prompted for the password.
To attach the user with the complete name MRICHARD.ACME (whose
password is BUTTERFLY) to an NDS tree named CORP, add the following
line to the login script:
tree corp/.mrichard.acme;butterfly
Use WRITE to display messages on the workstation screen when a user logs
in to the network. Text that you want to display must be enclosed in quotation
marks (" ").
There are several ways to display variables in the text message. The way you
enter the variable in the WRITE command determines the display format, as
follows:
If you type the identifier variable as shown, with no special punctuation,
only the variable is displayed on the screen.
If you enclose the identifier variable inside quotation marks, precede the
variable with a percent sign (%) and type it in uppercase letters. This
method is often used to combine regular text with an identifier variable,
because both the text and the variable can be enclosed in the same
quotation marks.
To join several text strings and identifier variables into a single display
without enclosing the variables in quotation marks, use a semicolon (;)
between the text and the variables.
If you have several WRITE commands, each one appears on a separate
line on the user's workstation. However, if you put a semicolon at the end
of all but the last WRITE commands, the commands all appear as one
continuous sentence or paragraph (although they might wrap onto
additional lines on the workstation's screen).

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETWARE 6-DOCUMENTATION and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Netware 6

Table of Contents