命令行设置本地网络连接

来源:互联网 发布:mac系统符号对应按键 编辑:程序博客网 时间:2024/05/17 18:16
@echo 设置本地连接IP为公司IP
@netsh interface ip set address "本地连接" static 192.168.1.17 255.255.255.0 192.168.1.1
@netsh interface ip set dns "本地连接" static 8.8.
8.8
@echo end ......
@pause
@rem netsh interface ip set address "本地连接" dhcp
@rem netsh interface ip set dns "本地连接" dhcp
原创粉丝点击