add folder to the path code example
Example 1: add directory to path windows 10
setx /M PATH "%PATH%;<your-new-path>"
Example 2: how to add a directory to path
export PATH="$HOME/bin:$PATH"
setx /M PATH "%PATH%;<your-new-path>"
export PATH="$HOME/bin:$PATH"