Environment Parameters for Logon Scripts

If you want to use the same logon script for various users, you can use the environment parameters shown in the following table to reduce development and maintenance time.

Table 3.2 Environment Parameters for Logon Scripts

Parameter

Description

%homedir%

Redirected drive letter on user's computer that refers to the share point for the user's home directory

%homedrive%

Local or redirected drive where the home directory is located

%homepath%

Path name of the home directory

%homeshare%

UNC name of the shared directory containing the home directory, or a local or redirected drive letter

%os%

The operating system of the user's workstation

%processor_architecture%

The processor architecture (such as Intel) of the user's workstation

%processor_level%

The type of processor (such as 486) of the user's workstation

%userdomain%

The domain containing the user's account

%username%

The user name of the user