我已经使用以下命令在Windsows 7 cmd中设置了代理
C:\> setx HTTP_PROXY http://username:[email protected]:1234
C:\> set HTTPS_PROXY=http://username:[email protected]:5678
现在,我尝试使用以下命令将其删除,
set http_proxy=
set https_proxy=
这仅在当前命令提示符会话中有效,当我打开新的cmd时,再次设置了旧的代理url,我必须再次使用set http_proxy =来删除它。如何永久删除此代理设置?
要删除当前cmd
实例中的变量,请执行以下操作:
set http_proxy=
set https_proxy=
或(甚至更好):
set "http_proxy="
set "https_proxy="
要删除将来cmd
实例的变量,请执行以下操作:
setx http_proxy ""
setx https_proxy ""
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句