January 26, 2020

Refresh environment variable without rebooting

Very simple.  After updating PATH environment var for example,
  1. open CMD
  2. type "set PATH=C"
  3. restart CMD

UPDATE-20200307: this works for PATH environment only.


REFERNCE
https://search4fan.github.io/post/win10_new_system_variable_without_restart.html

No comments: