@echo off
echo 设置DHCP网络....
netsh interface ip set address name="无线网络连接" source=dhcp
netsh interface ip set dns name="无线网络连接" source=dhcp
echo 设置完毕.
pause
@echo off
echo 设置互联网网络中....
netsh interface ip set address "无线网络连接" static 10.210.60.11 255.255.255.0 10.210.60.254 1
netsh interface ip set dns "无线网络连接" static 122.120.150.2 primary
echo 设置完毕.
pause
@echo off
echo 设置互联网网络中....
netsh interface ip set address "无线网络连接" static 10.210.60.11 255.255.255.0 10.210.60.254 1
netsh interface ip set dns "无线网络连接" static 210.82.176.58 primary
echo 设置完毕.
pause
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15149581/viewspace-682609/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/15149581/viewspace-682609/