I was trying to edit %path% variable using command line in windows 10, following this tutorial, but pathman/au
was not recognized. What should be the right approach to do that?
Asked
Active
Viewed 3,167 times
0

TheRandomForest
- 74
- 1
- 8

user288609
- 12,465
- 26
- 85
- 127
1 Answers
1
In order to use this tool you need to install Windows resource kit tools ‘pathman.exe‘
Alternatively you can use this directly on the command line:
setx path "%path%;c:\directoryPath"
To add a new path variable to the %path% script. (You can use the option /M for system PATH variable)
I found this reference useful to look through: https://www.windows-commandline.com/set-path-command-line/

androus42
- 11
- 3