zoukankan      html  css  js  c++  java
  • windows设置代理

    1 手动输入 (地址和端口)

    方法二:使用bat脚本,双击即可

    设置脚本 SetIEProxy.bat:

    @echo off 

    echo 开始设置IE代理上网 

    reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f 

    reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyServer /d "代理地址:端口号" /f 

    echo 代理设置完成按任意键关闭 

    pause>nul

    取消脚本 ClearIEProxy.bat:

    @echo off 

    echo 开始清除IE代理设置 

    reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f 

    reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyServer /d "" /f 

    echo IE代理清楚完成按任意键关闭 

    pause>nul

    脚本来源:

    https://blog.csdn.net/u012586326/article/details/112343755

    1. @echo off
    2.  
      echo 开始设置IE代理上网
    3.  
      reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
    4.  
      reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyServer /d "代理地址:端口号" /f
    5.  
      echo 代理设置完成按任意键关闭
    6.  
      pause>nul
  • 相关阅读:
    「CF1380G」 Circular Dungeon
    「CF1208G」 Polygons
    P4827「国家集训队」 Crash 的文明世界
    「CF85E」 Guard Towers
    「BZOJ 2956」模积和
    「HEOI2016/TJOI2016」排序
    CF277E Binary Tree on Plane
    「SDOI2016」数字配对
    HNOI2020「Elegy」
    CSP-S2019「Symphony」
  • 原文地址:https://www.cnblogs.com/light2018/p/14441769.html
Copyright © 2011-2022 走看看