We can use setx as discussed here.
setx
setx PATH \"%PATH%;C:\\Something\\bin\"
But this command can just make changed to user PATH
From powershell
setx /M PATH "$($env:path);c:\program files\mynewprogram"