写两个bat文件,内容分别如下:
file1.bat:
netsh interface ip set address 本地连接 static 193.168.17.70 255.255.255.0 193.168.17.1
netsh interface ip set dns 本地连接 static 192.168.30.30
echo. & exit
file2.bat:
netsh interface ip set address 本地连接 static 192.168.90.12 255.255.255.0 192.168.90.1
netsh interface ip set dns 本地连接 static 192.168.30.30
echo. & exit
本文将指导您如何使用BAT脚本配置本地网络接口的IP地址和DNS服务器。
5882

被折叠的 条评论
为什么被折叠?



