Project

alterpath

0.0
No commit activity in last 3 years
No release in over 3 years
Alterpath allows you to alter the system PATH on Windows in a flexible manner
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

>= 3.4.7
 Project Readme

Alterpath

Alterpath allows you to manipulate the system PATH (environment variable) on Windows in a flexible manner.

Requirements

  • Windows

Installation

$ gem install alterpath

Usage

$ alterpath -h
Read the usage instructions shown.

$ alterpath prepend "C:\test"
Prepending PATH with "C:\test"!

$ alterpath list
C:\test
...

$ alterpath remove "C:\test"
Removing "C:\test" from PATH!

Notes

If the item you're adding is already in PATH, it will not be added again by default, but you can use -f to force add it.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request