I'm writing a dos-batch in which I need to change the PATH
.
I'm using the SET
command.
The batch is run from the command line (cmd.exe
).
The problem : the changes are only available for the cmd window, and I soon as this window is closed, the changes are dismissed.
How can I change the PATH
from a batch and make sure the change will affect the whole system ?