A: 

From a command line, this worked for me:

reg add HKCU\testfolder /t REG_EXPAND_SZ /v Stokrotka /d ^%systemroot^%\system32
aphoria
Thank you. Just to log things out. `reg add HKCU\testfolder /t REG_EXPAND_SZ /v Stokrotka /d ^%systemroot^%\system32` //works `reg add HKCU\testfolder /t REG_EXPAND_SZ /v Stokrotka /d "^%systemroot^%\system32"` //(notice the quotes) gives variable value: `^%systemroot^%\system32` Also I've found other `REG_EXPAND_SZ` in the registry and there is a `"@"` sign before `%systemroot%` (`var1=@%systemroot%\system32`). I don't know yet what `@` means, but it's probably useful.
trismarck