windows设置代理.bat 脚本
2018-02-27 17:04
363 查看
按照下列脚本复制到记事本中,保存,重命名后缀为.bat,使用时双击即可。
设置代理.bat,修改下列脚本中的代理地址和端口号
@echo off echo 开始设置IE代理上网 reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "代理地址:端口号" /f echo 代理设置完成按任意键关闭 pause>nul
取消代理.bat
@echo off echo 开始清除IE代理设置 reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "" /f echo IE代理清楚完成按任意键关闭 pause>nul
相关文章推荐
- 设置IP和代理的Windows Bat脚本
- 设置IP和代理的Windows Bat脚本
- windows:subst 映射文件夹为盘符塈设置开机启动执行bat脚本
- Windows设置开机自启动bat脚本
- windows下脚本设置安全站点及其他(bat)
- windows下通过bat脚本和计划任务实现设置某一服务的守护进程
- Windows设置开机自启动bat脚本
- python 脚本自动切换windows代理设置
- windows通过bat脚本设置服务开机启动
- windows下脚本设置安全站点及其他(bat)
- Windows下bat脚本设置和获取环境变量
- Windows下通过bat获取网络连线实际名称,加强IP类设置脚本的兼容性
- Windows BAT脚本中调用BAT脚本导致CMD退出的问题
- windows设置电脑IP脚本
- windows下定时利用bat脚本实现ftp上传下载
- windows上自动设置java环境变量的脚本
- Windows下杀掉进程后重启的bat脚本
- (ZT)设置wifi热点的bat脚本
- .bat脚本将windows server 2008设置成ntp时间同步服务器
- windows bat脚本编写