add to path in windows 10 code example
Example 1: add directory to path windows 10
setx /M PATH "%PATH%;<your-new-path>"
Example 2: windows add to path
// Windows
Settings > System > About > Advanced system settings
Environment variables
setx /M PATH "%PATH%;<your-new-path>"
// Windows
Settings > System > About > Advanced system settings
Environment variables