%ProgramFiles% is not like the other environment variables. It is initialized by the system with the value of ProgramFilesDir at boot time, and cannot be changed after that.
Since ProgramFilesPath value is %ProgramFiles%, it has the same value also
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion"
Usually, I just restart the console and all environment variables are set to their correct value. You can see the value of all environment variables by doing "set" in the Windows console. But %ProgramFiles" is initialized only at boot time.
Creating an environment variable %ProgramFiles% from the control panel will not modify this behaviour, even after reboot.
Saturday, August 4, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment