Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    Thanks! Now my PATH is only 1/3 of the original length. The search feels faster now (or maybe it is just placebo effect?) Commented Sep 8, 2016 at 8:10
  • you're welcome. as long as it didn't get slower or break something, i'd consider it as ok. Commented Sep 8, 2016 at 9:17
  • I also had two duplicate values and it turned out that removing them from the user environment helped. But I wrote a little C# program checking Machine, User and Process environments. In Process and User I found duplicate semicolons ;; - but in Windows, when I checked System and User enviroment, everything looks okay. Then I saw there is %PyCharm% in the user enviroment which resolves in C# to C:\Program Files\JetBrains\PyCharm 2022.2.1\bin;;. Watch out, there may be other variables like this containing a semicolon already. Commented Aug 21, 2023 at 12:21