Skip to content

Missing support for REG_EXPAND_SZ environment variables, which notably means that PATH cannot be properly updated #6

@mklement0

Description

@mklement0

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 nor setx.exe (properly) provide it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions