Read the current value in two places
User and system variables are separate lists and both are combined at logon. A tool that writes only the user list still works for that user and not for a service.
setx
A command that worked yesterday and now reports not found is usually a PATH that lost an entry. The list is editable and the mistake is easy to spot.
Open **Environment Variables** and compare the **Path** entry with the default list. A single missing entry breaks every program that relies on it, and an empty line at the start breaks several.
User and system variables are separate lists and both are combined at logon. A tool that writes only the user list still works for that user and not for a service.
setx
An empty first entry, a trailing semicolon with a duplicate, or a path with quotes around it breaks lookups. Windows does not correct any of them.
echo %PATH%
The system list should contain the Windows, system32 and Windows PowerShell folders. A missing system32 entry makes basic commands disappear for every user.
C:\indows\ystem32;C:\indows;C:\indows\ystem32\bem
New entries append, never prepend, unless you intend to shadow a system tool. A tool folder first in the list can replace a built-in command with a different version.
An open terminal keeps the environment it started with. New windows inherit the new value; already running shells do not.
The where command prints which file a name resolves to. It shows immediately whether the right folder is in the path and which copy wins.
where python
That terminal was started before the change or with a modified environment.
The system PATH lost system32. Restore the default entries and reboot.
An entry earlier in the list wins. Move the entry or call the full path.
A tool rewrites it at startup. Check the vendor's sync or installer options.
Yes, per user and per machine. The dialog edits the same values safely.
A sign-out is enough, and new processes see it immediately.
Paste the saved copy of the value back into the variable dialog and sign out. The previous lookup behaviour returns.
Free · no account needed · tracks your progress