Why is Path variable behaving like other user variables in “Edit environment variables for your account”?

I tried to add a path to the Path variable using chatgpt prompts (which I should not have done)

setx Path "%JAVA_HOME%\bin;%PATH%"

Now I can’t see the old path variables nor add new path variables. The system functions fine until now but I don’t know what I should do to revert back the behaviour.

  • BearOfaTime@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    7 months ago

    Hmm, guess I don’t understand.

    There’s a system path, and a user-definable path as shown in the screenshot?

    We’re you just surprised there’s a user-definable path?