{"id":18770797,"url":"https://github.com/rasa/path_set","last_synced_at":"2026-02-13T15:08:41.099Z","repository":{"id":27505696,"uuid":"30986150","full_name":"rasa/path_set","owner":"rasa","description":"Modify system and user environment variables","archived":false,"fork":false,"pushed_at":"2015-05-21T03:59:22.000Z","size":248,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-02T06:34:02.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rasa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-18T20:48:39.000Z","updated_at":"2023-08-11T07:38:43.000Z","dependencies_parsed_at":"2022-08-21T01:40:30.457Z","dependency_job_id":null,"html_url":"https://github.com/rasa/path_set","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rasa/path_set","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Fpath_set","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Fpath_set/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Fpath_set/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Fpath_set/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rasa","download_url":"https://codeload.github.com/rasa/path_set/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Fpath_set/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29411138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T19:21:33.428Z","updated_at":"2026-02-13T15:08:41.077Z","avatar_url":"https://github.com/rasa.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# path_set [![Flattr this][flatter_png]][flatter]\r\n\r\nModify system and user environment variables.\r\n\r\n## Usage\r\n\r\n````\r\npath_set [options] path [path2 ...]\r\n\r\nOptions:\r\n-v VarName Append path(s) to environmental variable VarName (default is Path)\r\n-s         Modify variable in the system environment (default)\r\n-u         Modify variable in the current user's environment\r\n-d         Modify variable in the default user environment\r\n-e char    Change % substitution character to 'char' (default is `)\r\n-n         Don't add path if the variable already contains it\r\n-p         Prepend path(s) to variable\r\n-r         Replace the value (default is to append)\r\n-x         Use REG_EXPAND_SZ type (default if ` char is used)\r\n-z         Use REG_SZ type (default)\r\n-c         Show version and copyright statement\r\n-?         Show this help screen\r\n````\r\n\r\n## Examples\r\n\r\n````batch\r\n  rem append c:\\bin to the system Path variable:\r\n  path_set -n c:\\bin\r\n\r\n  rem prepend c:\\usr\\local\\bin and c:\\bin to the system Path:\r\n  path_set -n -p c:\\usr\\local\\bin c:\\bin\r\n\r\n  rem Add \"C:\\Program Files\\Java\\bin\" to the system Path:\r\n  path_set -n \"C:\\Program Files\\Java\\bin\"\r\n````\r\n\r\nor, even better:\r\n\r\n````batch\r\n  rem add or replace JAVA_HOME with %ProgramFiles%\\Java\r\n  path_set -n -r -x -v JAVA_HOME `ProgramFiles`\\Java\r\n\r\n  rem Append %JAVA_HOME%\\bin to the system Path:\r\n  path_set -n `JAVA_HOME`\\bin\r\n````\r\n\r\n## Verify a Release\r\n\r\nTo verify a release, download the .zip, .sha256, and .asc files for the release \r\n(replacing path_set-1.5-win32.zip with the release you are verifying):\r\n\r\n````\r\n$ wget https://github.com/rasa/path_set/releases/download/v1.5/path_set-1.5-win32.zip{,.sha256,.asc}\r\n````\r\n\r\nNext, check that sha256sum reports \"OK\":\r\n````\r\n$ sha256sum -c path_set-1.5-win32.zip.sha256\r\npath_set-1.5-win32.zip: OK\r\n````\r\n\r\nLastly, check that GPG reports \"Good signature\":\r\n\r\n````\r\n$ gpg --keyserver hkps.pool.sks-keyservers.net --recv-key 0x105a5225b6ab4b22\r\n$ gpg --verify path_set-1.5-win32.zip.asc path_set-1.5-win32.zip\r\ngpg:                using RSA key 0xFF914F74B4BB6EF3\r\ngpg: Good signature from \"Ross Smith II \u003cross@smithii.com\u003e\" [ultimate]\r\n...\r\n````\r\n\r\n## Contributing\r\n\r\nTo contribute to this project, please see [CONTRIBUTING.md](CONTRIBUTING.md).\r\n\r\n## Bugs\r\n\r\nTo view existing bugs, or report a new bug, please see [issues](../../issues).\r\n\r\n## Changelog\r\n\r\nTo view the version history for this project, please see [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nThis project is [MIT licensed](LICENSE).\r\n\r\n## Contact\r\n\r\nThis project was created and is maintained by [Ross Smith II][] [![endorse][endorse_png]][endorse]\r\n\r\nFeedback, suggestions, and enhancements are welcome.\r\n\r\n[Ross Smith II]: mailto:ross@smithii.com \"ross@smithii.com\"\r\n[flatter]: https://flattr.com/submit/auto?user_id=rasa\u0026url=https%3A%2F%2Fgithub.com%2Frasa%2Fpath_set\r\n[flatter_png]: http://button.flattr.com/flattr-badge-large.png \"Flattr this\"\r\n[endorse]: https://coderwall.com/rasa\r\n[endorse_png]: https://api.coderwall.com/rasa/endorsecount.png \"endorse\"\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasa%2Fpath_set","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frasa%2Fpath_set","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasa%2Fpath_set/lists"}