Created
April 8, 2012 12:48
-
-
Save sherrier/2337112 to your computer and use it in GitHub Desktop.
使用命令行设置网络连接的IP,网关,DNS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo Setting IP for Office | |
netsh interface ip set address name="无线网络连接" source=static addr=192.168.23.19 mask=255.255.240.0 gateway=192.168.16.1 gwmetric=1 | |
netsh interface ip set dns "无线网络连接" static 172.16.50.240 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment