Skip to content
/ envpath Public

πŸ“Œ A tool to add or remove values from the Windows PATH variable.

License

Notifications You must be signed in to change notification settings

1111mp/envpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸͺŸ envpath

πŸ“Œ A tool to add or remove values from the Windows PATH variable. This project is inspired by PathEd.

Examples

Add a value to the Windows PATH:

envpath.exe add "C:\Program Files\path"

Remove a value from the Windows PATH:

envpath.exe remove "C:\Program Files\path"

Usage in a NSIS install script:

envpath is used in the nvm-desktop NSIS install script to add and remove the application location to the Windows PATH.

Noteworthy

envpath will ...

  • ... just add values if they are new to the PATH. So it can be called multiple times.
  • ... ignore removals if the value is not part of the PATH. So it can be called multiple times as well.

About

πŸ“Œ A tool to add or remove values from the Windows PATH variable.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages