You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Still, using the registry APIs directly offers a workaround.
(After a direct registry update, a WM_SETTINGCHANGE broadcast message must be posted to notify (at least) the Windows shell of the update).
Having proper support for REG_EXPAND_SZ env. vars. is important, especially given that neither the .NET APIs nor setx.exe (properly) provide it.
The text was updated successfully, but these errors were encountered:
mklement0
changed the title
Lack support for REG_EXPAND_SZ environment variables, which notably means that PATH cannot be properly updated
Missing support for REG_EXPAND_SZ environment variables, which notably means that PATH cannot be properly updated
Aug 10, 2023
Regrettably, the .NET APIs as of this writing (preview version of .NET 8) also have this limitation - see:
Still, using the registry APIs directly offers a workaround.
(After a direct registry update, a
WM_SETTINGCHANGE
broadcast message must be posted to notify (at least) the Windows shell of the update).Having proper support for
REG_EXPAND_SZ
env. vars. is important, especially given that neither the .NET APIs norsetx.exe
(properly) provide it.The text was updated successfully, but these errors were encountered: