User Guide
Login Script Commands and Variables 91
Novell Client for Windows
103-000159-001
December 7, 2001
Novell Confidential
Manual 99a38 July 17, 2001
Text strings can include the following special characters:
In addition to the semicolon, you can use other operators to form compound
strings (in other words, to join text and identifier variables into one command).
These operators are listed in the following table, in order of precedence:
Command Format
WRITE "[text][%identifier]" [;][identifier]
Replace text with the words you want to display on the screen.
Replace identifier with a variable you want to display, such as a user’s login
name. See “Using Identifier Variables” on page 62 for a complete list of
variables.
Examples
To display the message Hello, add the following line to the login script:
WRITE "Hello"
To display the user’s surname along with a greeting, add the identifier
LAST_NAME to the command. To do this, either join the text and the
identifier with a semicolon (;) or include the variable in the quotation marks
with the text.
Character Meaning
\r Causes a carriage return
\n Starts a new line of text
\" Displays a quotation mark on the screen
\7 Makes a beep sound
Operator Meaning
* / % Multiply, divide, modulos
+ - Add, subtract
>> << Shift left or right (1000 >> 3 becomes 1)