PathEd
PathEd copied to clipboard
📌 A deployable tool to add or remove values from the Windows PATH variable.
Was testing using PathEd for an installer and noticed that it changes the Path registry key type from REG_EXPAND_SZ to REG_SZ at least on windows 11, that breaks plenty of...
for example i have a path variable with "C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.332-1\jre\bin" and i do 'pathed remove "332"' it will remove 332 from "C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.332-1\jre\bin" so "C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.-1\jre\bin" will be left. trying...
I had a look in your code and I guess you have the same problem like here: https://github.com/dotnet/runtime/issues/1442 I'm searching for a small tool which don't mess up with this.