When you open sysdm.cpl -> Advanced -> Environment Variables. you can see that envs are divided into two section:
one is User Variables
, another is System Variables
, they both have a variable PATH
in them.
Now if you run set
inside the cmd
prompt, it only shows one variable name called PATH
and it contains the union of the above.
How do I explicitly set System Variable
or User Variable
in command prompt in a persistent manner?