To modify the environment variables path in Windows 10
Open the start search bar, type in Env and select “Edit the system environment variables”
Click the “Environmental Variables..” button
Under the System variables section, select the PATH and click edit
The Edit environment variable dialogue box opens, click new to create a new path, type in the required path.
Click ok, to close the dialogue boxes