TMP differs from user variable on Windows -


on windows machine have strange behavior.

the system variable temp , tmp set to:

%systemroot%\temp 

the user variable temp , tmp set to:

%userprofile%\appdata\local\temp 

evaluating %userprofile% in cmd gives me like:

c:\users\my.username 

evaluating %temp% , %tmp% in cmd gives me (dos) like:

c:\users\my5336~1~ame 

can explain me cmd values originate from? totally confused.

i can find my5336~1~ame value in registry in hklm/software/microsoft/dfp/environment/ not familiar that.


edit:

even after removing entries registry , logging out , in, still evaluate strange values.

and [system.environment]::expandenvironmentvariables("%tmp%") in powershell gives me strange values, too.

user environment variables stored under:

hkey_current_user\environment 

and system environment variables under:

hkey_local_machine\system\currentcontrolset\control\session manager\environment 

what have looks bit short file name


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -