Environment Variable is too large on Windows 10

前端 未结 13 1901
轮回少年
轮回少年 2020-12-12 09:28

I know this is strange and I have spent almost 3 days searching for the solution online without getting a useful one. So I have decided to come here.

I have recentl

13条回答
  •  暖寄归人
    2020-12-12 09:53

    I found you can do via PowerShell.

    [System.Environment]::SetEnvironmentVariable("PATH", "C:\Program Files (x86......etc.....", "Machine")
    

    So I grabbed existing system PATH, pasted into notepad, added my new thing, then pasted into the "C:\Program Files" bit of the above. Path updated. Done.

提交回复
热议问题