in reply to Re: vienv - Edit local environment variables on Win32
in thread vienv - Edit local environment variables on Win32

Why not set | perl -pe "s/^/set /" > %temp%\env.bat ?

Of course, you lose the confirmation feedback on what actually changed and the intuitive "delete the line to delete the environment variable" behavior and have higher risk of accidentally running other commands.

- tye