7

Is it possible to permanently add c:/project/bin to PATH i windows using only batch?

1 Answer 1

10

This command will permanently set the current user's "Path" variable:

setx path "%PATH%;C:\Project\Bin"

The next command will adjust the system variable instead of the user variable:

setx path "%PATH%;C:\Project\Bin" /M
1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .