NT Login Script and Environment Variables
Keywords: NT Login Logon
Question:
I'm doing an environment variable change, then sending the message to update all the windows:IntControl (22, -1, 26, 0, "Environment")Everything works fine on the NT session.It doesn't seem to work when I run it on the logon script. The variable seemed to be defined (when I open the control panel/system) it's there but when i do "set" from a command console, it appeared to have retained the old value, as if the send message didn't catch. Is there a clue?
Answer:
Processing in login scripts is very strange. I think there are some command line utilities in the NT resource kit to help you with environment management in login scripts.Look in the ADMIN directory on the NT CD-ROM to see if anything there is useful.
Article ID: W13513Filename: NT Login and Environment Variables.txt