怎么用批处理设置IE代理服务器

怎么用批处理设置IE代理服务器,第1张

@echo off

set /p ipa=请输入代理IP地址:

set /p portb=请输入代理IP端口:

reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0x1 /f

reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v proxyServer /t REG_SZ /d http=%ipa%:%portb% /f

下面是取消IE代理

reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0x0 /f

把IE恢复原样批处理: regsvr32 /i /s MFC42.DLL regsvr32 /i /s advpack.dll regsvr32 /i /s browselc.dll regsvr32 /i /s WSOCK32.DLL regsvr32 /i /s jscript.dll regsvr32 /i /s rpcrt4.dll regsvr32 /i /s MSHTMLED.DLL regsvr32 /i /s oleaut32.dll regsvr32 /i /s MSRATING.DLL regsvr32 /i /s comctl32.dll regsvr32 /i /s msratelc.dll regsvr32 /i /s URL.DLL regsvr32 /i /s URLMON.DLL regsvr32 /i /s WININET.DLL regsvr32 /i /s SHDOCVW.DLL regsvr32 /i /s OLE32.DLL regsvr32 /i /s mydocs.dll regsvr32 /i /s ACTXPRXY.DLL regsvr32 /i /s RPCRT4.dll regsvr32 /i /s mshtml.dll regsvr32 /i /s MSVCRT.DLL regsvr32 /i /s DXTMSFT.DLL regsvr32 /i /s DDRAWEX.DLL regsvr32 /i /s DDRAW.DLL regsvr32 /i /s DXTRANS.DLL regsvr32 /i /s ATL.DLL regsvr32 /i /s DINFO.DLL regsvr32 /i /s LOCSCRCH.DLL regsvr32 /i /s CONCL.DLL regsvr32 /i /s SHDOCLC.DLL regsvr32 /i /s MSLS31.DLL regsvr32 /i /s SHDOCLC.DLL regsvr32 /i /s CESWEB.DLL regsvr32 /i /s NETAPI32.DLL regsvr32 /i /s NETBIOS.DLL regsvr32 /i /s MSI.DLL regsvr32 /i /s MSOSS.DLL regsvr32 /i /s BROWSELC.DLL regsvr32 /i /s MFC42LOC.DLL regsvr32 /i /s imm32.dll regsvr32 /i /s VERSION.dll regsvr32 /i /s ADVAPI32.dll regsvr32 /i /s OLEPRO32.DLL regsvr32 /i /s shell32.dll regsvr32 /i /s shlwapi.dll 可以啊...你用软件把IE修复一次 ...360安全卫士豪华版 http://dl.360safe.com/setupkav.exe 然后把IE主页设置成你喜欢的就OK了 /.//


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/tougao/10951319.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-12
下一篇 2023-05-12

发表评论

登录后才能评论

评论列表(0条)

保存