浏览 9078 次
锁定老帖子 主题:网络切换命令
精华帖 (0) :: 良好帖 (0) :: 灌水帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-11-13
最后修改:2008-11-13
Home.cmd @echo off netsh interface ip set address name="本地连接" source = static addr=192.168.0.24 mask=255.255.255.0 gateway=192.168.0.1 gwmetric=auto rem netsh interface ip set dns name="本地连接" source=static addr=202.96.128.86 register=primary netsh interface ip set dns 本地连接 static 202.96.128.86 primary netsh interface ip add dns 本地连接 202.96.128.166 index=2 reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f Company.cmd @echo off netsh interface ip set address name="本地连接" source=dhcp netsh interface ip set dns name="本地连接" source=dhcp 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 "gzproxy.ip.com:8080" /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d "localhost;10.*;*.ip.com" /f 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2008-11-13
Access Connection 爽~~~嘻嘻
|
|
返回顶楼 | |