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?
env? I've never heard of that before, and it does not work here. – paradroid Dec 5 '11 at 12:44