当前位置:首页 > 操作系统 > Windows

windows bat 设置代理上网脚本bat

取消IE代理服务器

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

@echo off 

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

echo 现在程序将关闭您的浏览器。。。。。
taskkill /f /im iexplore.exe
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyServer /d "" /f
color 2
echo 已取消代理服务器上网
echo 按任意键关闭此对话框
pause>nul

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

设置IE代理服务器

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

@echo off
echo 开始设置proxy代理..........
echo 现在程序将关闭您的浏览器。。。。。
taskkill /f /im iexplore.exe
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyServer /d "192.168.20.228:8889" /f
color 2
echo 已成功设置代理服务器上网
echo 按任意键关闭此对话框
pause>nul

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

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


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐