保存为.bat文件
@echo off
echo 正在设置ip,子网,请稍候......
netsh int ip set add name="本地连接" static 10.114.17.188 255.255.255.0 10.114.17.254 0
echo 正在设置DNS,请稍候.....
netsh int ip set dns name="本地连接" source=static 202.102.128.68
echo 设置完毕!