12
1
If I start a new Windows shell session and type:
env
I see lots of environment variables set. I want to debug the running of a command line program by removing all environment variables from the current shell session.
I could go though one by one with the following approach:
SET FOO=
SET BAR=
SET ... ... ...
However is there a simple way to clear them all in one go?
1What is
env
? I've never heard of that before, and it does not work here. – paradroid – 2011-12-05T12:44:56.200