{"id":22117866,"url":"https://github.com/elektrostudios/paths-a-command-line-app-to-manage-path-environment","last_synced_at":"2025-07-25T11:32:43.956Z","repository":{"id":97721046,"uuid":"173763928","full_name":"ElektroStudios/PATHS-a-command-line-app-to-manage-PATH-environment","owner":"ElektroStudios","description":"Command-line app to manage (add, remove or clean) the PATH and PATHEXT environment variables.","archived":false,"fork":false,"pushed_at":"2024-02-26T15:43:33.000Z","size":336,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-02-27T15:01:47.061Z","etag":null,"topics":["command-l","command-line","command-line-app","command-line-tool","commandline","commandline-tool","directory","dotnet","enviroment-variables","netframework","path","registry","windows","windows-app","windows-application","windows-applications","windows-environment","windows-registry","windows10","windows11"],"latest_commit_sha":null,"homepage":"","language":"Visual Basic .NET","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ElektroStudios.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-03-04T14:49:26.000Z","updated_at":"2024-02-27T15:01:47.061Z","dependencies_parsed_at":"2023-03-12T11:48:09.827Z","dependency_job_id":null,"html_url":"https://github.com/ElektroStudios/PATHS-a-command-line-app-to-manage-PATH-environment","commit_stats":null,"previous_names":["elektrostudios/paths-a-command-line-app-to-manage-path-environment"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElektroStudios%2FPATHS-a-command-line-app-to-manage-PATH-environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElektroStudios%2FPATHS-a-command-line-app-to-manage-PATH-environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElektroStudios%2FPATHS-a-command-line-app-to-manage-PATH-environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElektroStudios%2FPATHS-a-command-line-app-to-manage-PATH-environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElektroStudios","download_url":"https://codeload.github.com/ElektroStudios/PATHS-a-command-line-app-to-manage-PATH-environment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227571526,"owners_count":17788081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["command-l","command-line","command-line-app","command-line-tool","commandline","commandline-tool","directory","dotnet","enviroment-variables","netframework","path","registry","windows","windows-app","windows-application","windows-applications","windows-environment","windows-registry","windows10","windows11"],"created_at":"2024-12-01T13:41:19.190Z","updated_at":"2024-12-01T13:41:22.140Z","avatar_url":"https://github.com/ElektroStudios.png","language":"Visual Basic .NET","funding_links":["https://github.com/sponsors/ElektroStudios/","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=E4RQEV6YF5NZY"],"categories":[],"sub_categories":[],"readme":"\u003c!-- Common Project Tags:\ncommand-line \nconsole-applications \ndotnet \nnetframework \nnetframework48 \ntool \ntools \nvbnet \nvisualstudio \nwindows \nwindows-app \nwindows-application \nwindows-applications \n --\u003e\n\n# PATHS\n\n### A command-line application to manage (add, remove or clean) the PATH and PATHEXT environment variables.\n\n------------------\n\n## 🖼️ Screenshots\n\n![](Images/PATHS%2001.png)\n\n![](Images/PATHS%2002.png)\n\n![](Images/PATHS%2003.png)\n\n## 📝 Requirements\n\n- Microsoft Windows OS.\n\n## 🤖 Getting Started\n\nDownload the latest release by clicking [here](https://github.com/ElektroStudios/PATHS-a-command-line-app-to-manage-PATH-environment/releases/latest).\n\n### Syntax\n\n        PATHS.exe /OPTIONS [DIRECTORY PATH or FILE EXTENSION or ENTRY INDEX]\n\n### Switches\n\n        /L (or) /List    | Lists the PATH entries.\n        /E (or) /Export  | Exports PATH and PATHEXT entries to a registry script file.\n        /C (or) /Clean   | Clean duplicates and missing directory paths in PATH and PATHEXT.\n        /R (or) /Restore | Restores the PATH entries to Windows defaults.\n                         |\n        /Add -User       | Adda a directory to current user's PATH.\n        /Add -Machine    | Adds a directory to local machine PATH.\n        /A (or) /Add     | Adds a directory to current user's and local machine PATHs.\n                         |\n        /Del -User       | Deletes a directory from current user's PATH.\n        /Del -Machine    | Deletes a directory from local machine PATH.\n        /D (or) /Del     | Deletes a directory from current user's and local machine PATHs.\n                         |\n        /AddExt -User    | Adds a file extension to current user's PATHEXT.\n        /AddExt -Machine | Adds a file extension to local machine PATHEXT.\n        /AddExt          | Adds a file extension to current user's and local machine PATHEXTs.\n                         |\n        /DelExt -User    | Deletes a file extension from current user's PATHEXT.\n        /DelExt -Machine | Deletes a file extension from local machine PATHEXT.\n        /DelExt          | Deletes a file extension from current user's and local machine PATHEXTs.\n                         |\n        /? (or) /Help    | Shows this help.\n\n### Switch value types\n\n        Note: You can list all the entry indices using command: PATHS.exe /List\n\n        /Del -User       (Directory Path or Entry Index)\n        /Del -Machine    (Directory Path or Entry Index)\n\n        /AddExt -User    (File Extension)\n        /AddExt -Machine (File Extension)\n\n        /DelExt -User    (File Extension)\n        /DelExt -Machine (File Extension)\n\n### Usage examples\n\n        PATHS.exe /List\n        (Lists the entries of PATH and PATHEXT)\n\n        PATHS.exe /Clean\n        (Clean duplicates and missing directory paths in PATH and PATHEXT)\n\n        PATHS.exe /Restore\n        (Restores the PATH and PATHEXT to Windows defaults)\n\n        PATHS.exe /Export \"C:\\Registry File.reg\"\n        (Exports the PATH and PATHEXT entries to the specified registry script file)\n\n        PATHS.exe /Add -User \"C:\\Directory\"\n        (Adds a directory with name \"C:\\Directory\" to current user's PATH)\n\n        PATHS.exe /Add -Machine \"C:\\Directory\"\n        (Adds a directory with name \"C:\\Directory\" to local machine PATH)\n\n        PATHS.exe /Add \"C:\\Directory\"\n        (Adds a directory with name \"C:\\Directory\" to current user's and local machine PATHs)\n\n        PATHS.exe /Del -User \"C:\\Directory\"\n        (Deletes any directory with name \"C:\\Directory\" from current user's PATH)\n\n        PATHS.exe /Del -Machine \"C:\\Directory\"\n        (Deletes any directory with name \"C:\\Directory\" from local machine PATH)\n\n        PATHS.exe /Del \"C:\\Directory\"\n        (Deletes any directory with name \"C:\\Directory\" from current user's and local machine PATHs)\n\n        PATHS.exe /Del -User 5\n        (Deletes the entry with index 5 from current user's PATH)\n\n        PATHS.exe /Del -Machine 5\n        (Deletes the entry with index 5 from local machine PATH)\n\n        PATHS.exe /AddExt -User \".test\"\n        (Adds a file extension with name \".test\" to current user's PATHEXT)\n\n        PATHS.exe /AddExt -Machine \".test\"\n        (Adds a file extension with name \".test\" to local machine PATHEXT)\n\n        PATHS.exe /AddExt \".test\"\n        (Adds a file extension with name \".test\" to current user's and local machine PATHEXTs)\n\n        PATHS.exe /DelExt -User \".test\"\n        (Deletes any file extension with name \".test\" from current user's PATHEXT)\n\n        PATHS.exe /DelExt -Machine \".test\"\n        (Deletes any file extension with name \".test\" from local machine PATHEXT)\n\n        PATHS.exe /DelExt \".test\"\n        (Deletes any file extension with name \".test\" from current user's and local machine PATHEXTs)\n\n## 🔄 Change Log\n\nExplore the complete list of changes, bug fixes, and improvements across different releases by clicking [here](/Docs/CHANGELOG.md).\n\n## ⚠️ Disclaimer:\n\nThis Work (the repository and the content provided in) is provided \"as is\", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the Work or the use or other dealings in the Work.\n\n## 💪 Contributing\n\nYour contribution is highly appreciated!. If you have any ideas, suggestions, or encounter issues, feel free to open an issue by clicking [here](https://github.com/ElektroStudios/PATHS-a-command-line-app-to-manage-PATH-environment/issues/new/choose). \n\nYour input helps make this Work better for everyone. Thank you for your support! 🚀\n\n## 💰 Beyond Contribution \n\nThis work is distributed for educational purposes and without any profit motive. However, if you find value in my efforts and wish to support and motivate my ongoing work, you may consider contributing financially through the following options:\n\n\u003cbr\u003e\u003c/br\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/Images/github_circle.png\" height=100\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e__________________\u003c/p\u003e\n\u003ch3 align=\"center\"\u003eBecoming my sponsor on Github:\u003c/h3\u003e\n\u003cp align=\"center\"\u003eYou can show me your support by clicking \u003ca href=\"https://github.com/sponsors/ElektroStudios/\"\u003ehere\u003c/a\u003e, \u003cbr align=\"center\"\u003econtributing any amount you prefer, and unlocking rewards!\u003c/br\u003e\u003c/p\u003e\n\u003cbr\u003e\u003c/br\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"/Images/paypal_circle.png\" height=100\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e__________________\u003c/p\u003e\n\u003ch3 align=\"center\"\u003eMaking a Paypal Donation:\u003c/h3\u003e\n\u003cp align=\"center\"\u003eYou can donate to me any amount you like via Paypal by clicking \u003ca href=\"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=E4RQEV6YF5NZY\"\u003ehere\u003c/a\u003e.\u003c/p\u003e\n\u003cbr\u003e\u003c/br\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"/Images/envato_circle.png\" height=100\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e__________________\u003c/p\u003e\n\u003ch3 align=\"center\"\u003ePurchasing software of mine at Envato's Codecanyon marketplace:\u003c/h3\u003e\n\u003cp align=\"center\"\u003eIf you are a .NET developer, you may want to explore '\u003cb\u003eDevCase Class Library for .NET\u003c/b\u003e', \u003cbr align=\"center\"\u003ea huge set of APIs that I have on sale. Check out the product by clicking \u003ca href=\"https://codecanyon.net/item/elektrokit-class-library-for-net/19260282\"\u003ehere\u003c/a\u003e\u003c/br\u003e\u003cbr align=\"center\"\u003e\u003ci\u003eIt also contains all piece of reusable code that you can find across the source code of my open source works.\u003c/i\u003e\u003c/p\u003e\n\u003cbr\u003e\u003c/br\u003e\n\n\u003ch2 align=\"center\"\u003e\u003cu\u003eYour support means the world to me! Thank you for considering it!\u003c/u\u003e 👍\u003c/h2\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felektrostudios%2Fpaths-a-command-line-app-to-manage-path-environment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felektrostudios%2Fpaths-a-command-line-app-to-manage-path-environment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felektrostudios%2Fpaths-a-command-line-app-to-manage-path-environment/lists"}