C
cbmanica
I have created a batch file that will add a certain directory to the
current user's PATH environment variable. When you update environment
variables from the control panel, they get "refreshed" and are
immediately visible to new processes; what I want is to "refresh" the
environment variables from the registry and accomplish the same thing
from a batch file. Is there a way to do that, or are my users
condemned to log off and log back on to see the changes to their PATH?
current user's PATH environment variable. When you update environment
variables from the control panel, they get "refreshed" and are
immediately visible to new processes; what I want is to "refresh" the
environment variables from the registry and accomplish the same thing
from a batch file. Is there a way to do that, or are my users
condemned to log off and log back on to see the changes to their PATH?