winreg.ExpandEnvironmentStrings(str)
Expands environment variable placeholders %NAME%
in strings like REG_EXPAND_SZ
:
>>> ExpandEnvironmentStrings('%windir%') 'C:\\Windows'
winreg.ExpandEnvironmentStrings(str)
Expands environment variable placeholders %NAME%
in strings like REG_EXPAND_SZ
:
>>> ExpandEnvironmentStrings('%windir%') 'C:\\Windows'
Please login to continue.