One of the most annoying things in windows is when we are behind a proxy and an application we want to use is not configured to use a proxy of its own.
The proxycfg does just that. Documented at http://msdn.microsoft.com/en-us/library/aa384069.aspx
For a command line proxy try this:
set HTTP_proxy=http://my.proxy.server:8000