1
I'm trying to solve a PATH
issue and came across the REG_SZ
and REG_EXPAND_SZ
registry types, where REG_EXPAND_SZ must be used when using variables such as %SystemRoot% in the registry key.
My question is, should the REG_EXPAND_SZ type also be used for 8.3 short names such as C:\Progra~1
?
On the other hand, a special type is not needed because the short names (unlike environment variables) are expanded by the filesystem itself. – user1686 – 2016-12-22T12:38:20.070