Skip to content

Instantly share code, notes, and snippets.

@andreasbotsikas
Created September 20, 2020 15:57
Show Gist options
  • Save andreasbotsikas/86a92644da1f1ec00e58e2bad112c8f7 to your computer and use it in GitHub Desktop.
Save andreasbotsikas/86a92644da1f1ec00e58e2bad112c8f7 to your computer and use it in GitHub Desktop.
Set proxy for cmd.exe
Rem Based on https://stackoverflow.com/questions/26992886/set-proxy-through-windows-command-line-including-login-parameters
set HTTP_PROXY=http://proxy_userid:proxy_password@proxy_ip:proxy_port
set FTP_PROXY=%HTTP_PROXY%
set HTTPS_PROXY=%HTTP_PROXY%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment