less than 1 minute read

Does it have to be this hard?

Anyway, if you are looking for how to add to a non-privileged user’s search path for command line usage, the command setx is what you are looking for. While it can be used to modify the system search path, users don’t have permission to do that in many enterprise deployments. The paths specified by the user are at the end of the system paths.

To see the existing path

    echo %path%


To put C:\Users\dgreen\bin on the path, use

    setx path C:\Users\dgreen\bin

Once you start a new CMD session, you can see the impact of your changes.

    echo %path%


Leave a comment