无线网络静态IP设置批处理脚本

来源:互联网 发布:玻璃深加工erp软件 编辑:程序博客网 时间:2024/05/18 00:37
@echo 更改“无线网络连接”IP地址
@echo IP:192.168.6.112
@echo 网关:192.168.1.1
@echo DNS:10.10.198.31


@pause
@echo off
netsh interface ip set address name="无线网络连接" source=static addr=192.168.6.112 mask=255.255.255.0 gateway=192.168.6.1
netsh interface ip set dns name="无线网络连接" source=static addr=10.10.198.31
1 0