https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ee537574(v=office.14)?redirectedfrom=MSDN
How to: Add Tool Locations to the PATH Environment Variable | Microsoft Learn
how to addpath environment variabletoollocations