User Guide
156 Other Installation Options
Other Installation Options
103-000143-001
August 30, 2001
Novell Confidential
Manual 99a38 July 17, 2001
External Command Variable Substitution
A variable, such as the value returned by GetPath (page 141), can be used
inside any quoted string within an executed external command. The variable
is global. It goes out of scope only when the command processor is replaced
by a different one. The variable can be dereferenced explicitly by an
expression %{<var name>} within another string.
Variable Description
NWSERVER The name of the server the script is processing on.
NWSRC Source path where script is found.
NWDST Destination path (where server will boot from).
NWBOOT Current path (where server was booted from).
NWLANG Language number (4 = English, etc.).
COUNTRY Country ID (DOS country specifier).
CODEPAGE Codepage number (DOS code page specifier).
OSTYPE NetWare operating system type:
0 - Native
1 - OS/2
2 - SFT III
LOADERTYPE Type of loader used to start NetWare:
1 - DOS
2 - OS/2
3 - Windows 3.1
SERVCONFIGTYPE NetWare server configuration:
0 - Native
1 - SFT III I/O Engine
2 - SFT III MS Engine
SFTLEVEL Level of active System Fault Tolerance for NetWare.
OSMAJORVERSION The major version number for the NetWare OS.
OSMINORVERSION The minor version number for the NetWare OS.
OSREVISION The revision level for the NetWare OS.