Microsoft KB Archive/191748

= How to Assign NetWare Variables to Windows NT Environment Variables =

Article ID: 191748

Article Last Modified on 2/27/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q191748





SUMMARY
On a computer running Windows NT Workstation Client Service for NetWare (CSNW) or a computer running Windows NT Server Gateway Service for NetWare (GSNW), values from NetWare login script variables may be assigned to the Windows NT Environment variables when a user logs on. Examples of these NetWare login script variables include %LOGIN_NAME, %FULL_NAME, and %P_STATION, among others.



MORE INFORMATION
Values are assigned from NetWare login script variables to Windows NT environment variables in a NetWare login script. This script exists on a NetWare server and can either be a personal, system, or container login script. Use the following syntax in the script to assign the data:

SET NTVariable="%NetWare_Variable"

where NTVariable is the variable you would like to exist in the user's environment when the logon is complete, and %NetWare_Variable is the NetWare login script variable you want to get the data from, to assign to NTVariable.

The following are some examples you can use in the login script:

SET LOGIN_NAME="%LOGIN_NAME" SET FULL_NAME="%FULL_NAME" SET MAC_ADDRESS="%P_STATION"

Keywords: kbfaq kbhowto KB191748

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.