首页 > Windows开发 > 详细

windows bat 设置代理上网脚本bat

时间:2016-03-21 18:25:26      阅读:409      评论:0      收藏:0      [点我收藏+]

取消IE代理服务器

*************************************************************************************************

@echo off 

echo 开始设置取消xproxy代理..........

echo 现在程序将关闭您的浏览器。。。。。
taskkill /f /im iexplore.exe
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
color 2
echo 已取消代理服务器上网
echo 按任意键关闭此对话框
pause>nul

***************************************************************************************************

设置IE代理服务器

***************************************************************************************************

@echo off
echo 开始设置proxy代理..........
echo 现在程序将关闭您的浏览器。。。。。
taskkill /f /im iexplore.exe
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 "192.168.20.228:8889" /f
color 2
echo 已成功设置代理服务器上网
echo 按任意键关闭此对话框
pause>nul

****************************************************************************************************

windows bat 设置代理上网脚本bat

原文:http://www.cnblogs.com/wz0314/p/5302714.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!