echo off
netsh interface ip set address name="lan" source=static addr=192.168.0.118 mask=255.255.255.0 gateway=192.168.0.1 1
netsh interface ip set dns name="lan" source=static addr=202.96.128.86
netsh interface ip set address name="lan" source=static addr=192.168.0.118 mask=255.255.255.0 gateway=192.168.0.1 1
netsh interface ip set dns name="lan" source=static addr=202.96.128.86
本文转自 jxwpx 51CTO博客,原文链接:http://blog.51cto.com/jxwpx/292584,如需转载请自行联系原作者