I want to set
HKEY_CURRENT_USER\Environment
temp & tmp to %USERPROFILE%\Local Settings\Temp

I don't want to store what %userprofile% turns into, but the variable itself.

How to I escape it so I can store it? Can I use /%userprofile/%\loca... ?