Could you use setx? I think its an old sysinternals tool.

I hadn't noticed that tool before. But sadly:

Setx writes variables to the master environment in the registry. Variables
set with setx variables are available in future command windows only, not in
the current command window.

Greg

Reply via email to