GithubHelp home page GithubHelp logo

elektrostudios / paths Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 336 KB

Command-line app to manage (add, remove or clean) the PATH and PATHEXT environment variables.

License: Apache License 2.0

Visual Basic .NET 100.00%
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

paths's Introduction

PATHS

A command-line application to manage (add, remove or clean) the PATH and PATHEXT environment variables.


๐Ÿ–ผ๏ธ Screenshots

๐Ÿ“ Requirements

  • Microsoft Windows OS.

๐Ÿค– Getting Started

Download the latest release by clicking here.

Syntax

    PATHS.exe /OPTIONS [DIRECTORY PATH or FILE EXTENSION or ENTRY INDEX]

Switches

    /L (or) /List    | Lists the PATH entries.
    /E (or) /Export  | Exports PATH and PATHEXT entries to a registry script file.
    /C (or) /Clean   | Clean duplicates and missing directory paths in PATH and PATHEXT.
    /R (or) /Restore | Restores the PATH entries to Windows defaults.
                     |
    /Add -User       | Adda a directory to current user's PATH.
    /Add -Machine    | Adds a directory to local machine PATH.
    /A (or) /Add     | Adds a directory to current user's and local machine PATHs.
                     |
    /Del -User       | Deletes a directory from current user's PATH.
    /Del -Machine    | Deletes a directory from local machine PATH.
    /D (or) /Del     | Deletes a directory from current user's and local machine PATHs.
                     |
    /AddExt -User    | Adds a file extension to current user's PATHEXT.
    /AddExt -Machine | Adds a file extension to local machine PATHEXT.
    /AddExt          | Adds a file extension to current user's and local machine PATHEXTs.
                     |
    /DelExt -User    | Deletes a file extension from current user's PATHEXT.
    /DelExt -Machine | Deletes a file extension from local machine PATHEXT.
    /DelExt          | Deletes a file extension from current user's and local machine PATHEXTs.
                     |
    /? (or) /Help    | Shows this help.

Switch value types

    Note: You can list all the entry indices using command: PATHS.exe /List

    /Del -User       (Directory Path or Entry Index)
    /Del -Machine    (Directory Path or Entry Index)

    /AddExt -User    (File Extension)
    /AddExt -Machine (File Extension)

    /DelExt -User    (File Extension)
    /DelExt -Machine (File Extension)

Usage examples

    PATHS.exe /List
    (Lists the entries of PATH and PATHEXT)

    PATHS.exe /Clean
    (Clean duplicates and missing directory paths in PATH and PATHEXT)

    PATHS.exe /Restore
    (Restores the PATH and PATHEXT to Windows defaults)

    PATHS.exe /Export "C:\Registry File.reg"
    (Exports the PATH and PATHEXT entries to the specified registry script file)

    PATHS.exe /Add -User "C:\Directory"
    (Adds a directory with name "C:\Directory" to current user's PATH)

    PATHS.exe /Add -Machine "C:\Directory"
    (Adds a directory with name "C:\Directory" to local machine PATH)

    PATHS.exe /Add "C:\Directory"
    (Adds a directory with name "C:\Directory" to current user's and local machine PATHs)

    PATHS.exe /Del -User "C:\Directory"
    (Deletes any directory with name "C:\Directory" from current user's PATH)

    PATHS.exe /Del -Machine "C:\Directory"
    (Deletes any directory with name "C:\Directory" from local machine PATH)

    PATHS.exe /Del "C:\Directory"
    (Deletes any directory with name "C:\Directory" from current user's and local machine PATHs)

    PATHS.exe /Del -User 5
    (Deletes the entry with index 5 from current user's PATH)

    PATHS.exe /Del -Machine 5
    (Deletes the entry with index 5 from local machine PATH)

    PATHS.exe /AddExt -User ".test"
    (Adds a file extension with name ".test" to current user's PATHEXT)

    PATHS.exe /AddExt -Machine ".test"
    (Adds a file extension with name ".test" to local machine PATHEXT)

    PATHS.exe /AddExt ".test"
    (Adds a file extension with name ".test" to current user's and local machine PATHEXTs)

    PATHS.exe /DelExt -User ".test"
    (Deletes any file extension with name ".test" from current user's PATHEXT)

    PATHS.exe /DelExt -Machine ".test"
    (Deletes any file extension with name ".test" from local machine PATHEXT)

    PATHS.exe /DelExt ".test"
    (Deletes any file extension with name ".test" from current user's and local machine PATHEXTs)

๐Ÿ”„ Change Log

Explore the complete list of changes, bug fixes, and improvements across different releases by clicking here.

โš ๏ธ Disclaimer:

This 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.

๐Ÿ’ช Contributing

Your contribution is highly appreciated!. If you have any ideas, suggestions, or encounter issues, feel free to open an issue by clicking here.

Your input helps make this Work better for everyone. Thank you for your support! ๐Ÿš€

๐Ÿ’ฐ Beyond Contribution

This 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:



__________________

Becoming my sponsor on Github:

You can show me your support by clicking here,
contributing any amount you prefer, and unlocking rewards!



__________________

Making a Paypal Donation:

You can donate to me any amount you like via Paypal by clicking here.



__________________

Purchasing software of mine at Envato's Codecanyon marketplace:

If you are a .NET developer, you may want to explore 'DevCase Class Library for .NET',
a huge set of APIs that I have on sale. Check out the product by clicking here

It also contains all piece of reusable code that you can find across the source code of my open source works.



Your support means the world to me! Thank you for considering it! ๐Ÿ‘

paths's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dterracino

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.