1 CHCP 65001 2 netsh interface ip set address name="以太网" source=static addr=192.168.1.2 mask=255.255.255.0 gateway=192.168.1.1 3 netsh interface ip set dnsservers name="以太网" source=static addr=144.144.144.144 register=primary validate=no 4 netsh interface ip add dnsservers name="以太网" addr=8.8.8.8 index=2 validate=no 5 #pause