https://www.dpscomputing.com/blog/2019/10/06/set-windows-environment-variables-from-command-line/
Set Windows Environment Variables From Command Line