0

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?

enter image description here

user288609
  • 12,465
  • 26
  • 85
  • 127

1 Answers1

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