add to path using cmd code example
Example: cmd add to path
# update path only for the current session
set PATH=%PATH%;C:\your\path\here\
# update the path permanently
setx /M PATH "%PATH%;C:\your\path\here\"
# update path only for the current session
set PATH=%PATH%;C:\your\path\here\
# update the path permanently
setx /M PATH "%PATH%;C:\your\path\here\"