Hi, how can I change this?
c:>set
USERPROFILE=C:\Users\Administrador
to this:
USERPROFILE=C:\Users\Administrador\Desktop
I am testing with:
setx USERPROFILE "C:\Users\Administrador\Desktop"
but it still doesn't work can someone tell me how to change the value??
Unfortunately it is a "sensitive" variable and you cannot modify it. You can find it in the registry editor at this path:
Equipo\HKEY_CURRENT_USER\Volatile Environment
. Being lowVolatile Environment
indicates that no matter how much you modify it, the system will overwrite it with the values already predefined from the start of the system.If you are looking to modify a user's folder path, here is a guide to do it in Windows 10.
It worked for me with putting the same set command but adding the new path:
As Jose mentions, this change is temporary, that is, once the cmd is closed, the change is lost. Jose's response makes the change permanently in the user environment. If you want to make the change at the system environment level, you can add
/m
like this:first start cmd as system administrator and run
setx USERPROFILE "C:\Users\Administrator\Desktop"
with set it will also do it but it will not be permanent!