1

I'm using Windows 10.

I somehow added a variable to %PATH% in the command line (I don't remember how), and it now shows up when I type echo %PATH%. However, when I go to the GUI Environment Variables, that certain variable appears neither in the Path of "User variables for [my_username]" nor the Path of "System variables".

How do I find where I can edit %PATH% and remove the variables I need to remove?

  • If you didn't extended the variable in the system settings, just reboot your computer. Otherwise this may help: http://www.computerhope.com/issues/ch000549.htm – Kris Apr 27 '17 at 08:49
  • 1
    Possible duplicate of [Adding directory to PATH Environment Variable in Windows](http://stackoverflow.com/questions/9546324/adding-directory-to-path-environment-variable-in-windows) (a thread with exhaustive explanation). – JosefZ Apr 27 '17 at 09:01

1 Answers1

0

You most certainly used "set" to change a environment variable for the current cmd.exe. The change does only affect the currently running cmd.exe process.

see also: https://ss64.com/nt/set.html

Geiserich
  • 358
  • 1
  • 7