How to Assign NetWare Variables to Windows NT Environment Variables

ID: Q191748


The information in this article applies to:


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          : 
Version           : WinNT:4.0
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: February 15, 1999