Skip to main content

If you need to store permanent path  ( pathpath is not changed when cmd is restart)

  1. Run the Command Prompt as administrator  (R_clickRight click on the cmd.exe and select run as administrator)

  2. inIn cmd setx path "%path%;your new path"setx path "%path%;your new path" Thenthen enter

  3. Check 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

If you need to store permanent path( path is not changed when cmd is restart)

  1. Run the Command Prompt as administrator(R_click on the cmd.exe and select run as administrator)

  2. in cmd setx path "%path%;your new path" Then enter

3.Check weather the path is taken correctly by typing path and enter

If you need to store permanent path  (path is not changed when cmd is restart)

  1. Run the Command Prompt as administrator  (Right click on cmd.exe and select run as administrator)

  2. In cmd setx path "%path%;your new path" then enter

  3. Check whether the path is taken correctly by typing path and pressing enter

Source Link

If you need to store permanent path( path is not changed when cmd is restart)

  1. Run the Command Prompt as administrator(R_click on the cmd.exe and select run as administrator)

  2. in cmd setx path "%path%;your new path" Then enter

3.Check weather the path is taken correctly by typing path and enter