CAUSE
The use of environment variables in NetWare login scripts (like Windows NT
Login Scripts) permits the substitution for fixed values such as Username,
MS-DOS version, or Date and Time.
One of these identifier variables is %OS_VERSION. Under MS-DOS, this
variable translates to the version of MS-DOS being used on the computer
that is logging on to the NetWare server.
For example, the line in the login script
MAP S2:=SYS:PUBLIC\%OS_VERSION
is converted to a drive mapping of
S2:=Y:\ [SYS:PUBLIC\V6.22]
on a computer running MS-DOS 6.22.
When Windows NT Workstation or Server runs the NetWare login script, MS-DOS
version 5.00 (V5.00) is substituted for Windows NT version 4.0 (the command
line environment in Windows NT is based on MS-DOS v. 5.0).
Therefore, in Windows NT, the previous example would translate from
MAP S2:=SYS:PUBLIC\%OS_VERSION
and is converted to a drive mapping of
S2:=Y:\ [SYS:PUBLIC\V5.00]