I have elevated rights to my laptop but not admin rights. Admin rights are required to modify system environment variables. I expected that if I created a user environment variable with the same name as a system environment variable, the user variable would override the system variable but this does not appear to be the case.
After adding a user variable of the same name as a system variable, I opened up a brand new cmd window and used the echo command to display the variable. It showed me the value of the system variable instead of the value of the user variable.
I just wanted to confirm this is expected behavior and understand the reasoning behind it. I would expect the more specific user setting to override the system one.
I have Windows 7.