setx path "%PATH%;C:\Path\To\Directory"
However it isn't working. From what I've read, doing this via the CLI only adds the variable to the path temporarily.
Is there a way to permanently doing it? Other than the obvious, longer approach of: My Computer>Properties>Advanced>Environmental Variables>Path>Edit