edit path from command line code example
Example 1: add address to path cmd windows
set PATH=%PATH%;C:\your\path\here\
Example 2: 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\"