If you need to store permanent path ( pathpath is not changed when cmd is restart)
Run the Command Prompt as administrator (R_clickRight click on the cmd.exe and select run as administrator)
inIn cmd setx path "%path%;your new path"
setx path "%path%;your new path"Thenthen enterCheck whether the path is taken correctly by typing path and pressing enter
3.Check weather the path is taken correctly by typing path and enter