RE: AdminMisc::SetEnvVar

2001-12-13 Thread rothd
This is correct and by design. When you use AdminMisc::SetEnvVar() it sets the env var then sends out a system wide message indicating the environment has been updated. Any service and application that listens for this message can then update its copy of the environment (basically "refre

RE: AdminMisc::SetEnvVar

2001-12-13 Thread Timothy Johnson
::AdminMisc::SetEnvVar(), I have to set the environment variable for the window separately, but all other non-console windows use the new environment. I set it by setting the appropriate key in the %ENV hash. For example, "$ENV{'TIA'} = 865"; -Original Message- From: Dea

AdminMisc::SetEnvVar

2001-12-13 Thread Dean Theophilou
Hello: I wrote a script that modifies an environment variable during logon with the Wi32::AdminMisc::SetEnvVar function. Although the function sets the environment variable as expected, the change does not take effect until one of two things happen: 1) The user logs off and then back