- Search environment in the search bar

Click Edit the System Environment variables & edit as required
2. Open Command Prompt as Administrator
3. Type set PATH=C
& Press Enter (This will refresh the environment variables)
4. Close and restart command prompt window
5. Finally, type echo %PATH%
& press Enter
This will automatically Refresh your windows environment variables.