I have a routine that tries to obtain an environment variable. I am using GetEnvVar. I had this variable set once and went into Control Panel-System and removed it. I could also go to a Dos-Prompt window and type SET environment-name and get the value. So I reset the machine and checked System and the Dos-Prompt window and the variable is not present. However, when running the script, I always get the environment variable again!
I wonder if doing a Restart is much different than a shutdowm and boot up. Does Restart clear out and reload the environment variables? Doe anyone have problems with environment variables and GetEnvVar with Vista?
Just performed a complete shut down, let the machine set, and turned back on. The environment variable (which does not show up in Systems or using SET command) was there again! What is going on? Why is the environment variable coming back? Why doesn't it go away? I am using Administrator login.
Edited by Blackdog, 08 March 2007 - 22:46.