
아래 명령을 사용하여 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=를 다시 사용해야 합니다. 이 프록시 설정을 영구적으로 제거하는 방법은 무엇입니까?
답변1
현재 cmd
인스턴스에서 변수를 삭제하려면 다음을 수행하십시오.
set http_proxy=
set https_proxy=
또는 (더 나은 경우):
set "http_proxy="
set "https_proxy="
cmd
향후 인스턴스 에 대한 변수를 삭제하려면 다음을 수행하십시오.
setx http_proxy ""
setx https_proxy ""