awaescher / pathed Goto Github PK
View Code? Open in Web Editor NEW๐ A deployable tool to add or remove values from the Windows PATH variable.
License: MIT License
๐ A deployable tool to add or remove values from the Windows PATH variable.
License: MIT License
I had a look in your code and I guess you have the same problem like here: dotnet/runtime#1442
I'm searching for a small tool which don't mess up with this.
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 things.
Is there any way to avoid that?
edit: removed mention to other windows versions it seems to only happen on windows 11
Hello there,
It seems like PathEd is not actively maintained and the last commit was ages ago. If you want/can, you should add a note to use a tool more actively maintained and feature-rich for Windows. And yes, it's a repository maintained by me!
Please see github.com/ANF-Studios/WinPath. It's actively under development and a lot is planned.
Hi.
According to your post (atleast i think it is you) on
stackoverflow you recommend this to be used for safe enviromental updates with NSIS.
However i cannot get this to work.
Do you have any usage example how to use it?
i tried with the following without any lock
install path is "c:\demo path"
'''
File "PathEd.exe"
ExecWait "c:\demo path\PathEx.exe add
'''
Br
Stefan
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 to delete "C:\Program Files (x86)\ojdkbuild\java-1.8.0-openjdk-1.8.0.332-1\webstart" - doesnt work
pathed.exe remove "C:\Program Files (x86)\ojdkbuild\java-1.8.0-openjdk-1.8.0.332-1\jre\bin"
worked
pathed.exe remove "C:\Program Files (x86)\ojdkbuild\java-1.8.0-openjdk-1.8.0.332-1\bin"
worked
pathed.exe remove "C:\Program Files (x86)\ojdkbuild\java-1.8.0-openjdk-1.8.0.332-1\webstart"
does not work, maybe the last "" will be the problem
Great tool but needs some fine tuning :) or may i am doing something wrong
Hi,
I'd like to use PathEd in my own NSIS installer, but without any explicit licence I just can't do it.
I suggest you include a permissive licence text in your repo e.g: Apache, to allow other people redistribute your executable as part of their installers.
Thank you for the tool!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.