How to Assign NetWare Variables to Windows NT Environment Variables

ID: Q191748


The information in this article applies to:
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server



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" 

Additional query words:

Keywords :
Version : WINDOWS:2000; winnt:4.0
Platform : WINDOWS winnt
Issue type : kbhowto


Last Reviewed: January 21, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.