cmd - Override Windows environment variable value? -


i want permanently change value of "username" variable of windows fix problem of windows 8 user profile folder name.

i've tried set new environment variable using setx tool this:

setx /m username "value" 

...the new variable generated, can see in registry other variables, not overrided 'cause if try display value of username variable displays old value.

is possibly want?

cmd reads system environment variables when starts. re-read variables need restart cmd.

as variable %username%: variable automatically populated username of logged-in user. you'd have change username change value of variable. don't tamper it.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -