DANCE WITH JAVA

开发出高质量的系统

常用链接

统计

积分与排名

好友之家

最新评论

批处理更改IP地址,网关,DNS

Echo off
Netsh interface IP Set Address "本地连接" Static 192.168.1.203 255.255.255.0 192.168.1.1 1
Netsh interface IP Set dns "本地连接" static 192.168.1.1 primary
Echo changed ip to office 192.168.1.203 press any key ,go on
Pause


@Echo off
Netsh interface IP Set Address "本地连接" Static 192.168.0.203 255.255.255.0 192.168.0.1 1
Netsh interface IP Set dns "本地连接" static 192.168.0.1 primary
Echo changed ip to home 192.168.0.203 press any key ,go on
Pause

posted on 2006-10-17 20:46 dreamstone 阅读(5218) 评论(2)  编辑  收藏 所属分类: 片段

评论

# re: 批处理更改IP地址,网关,DNS 2006-11-10 16:57 啊么么

东西很好,  回复  更多评论   

# re: 批处理更改IP地址,网关,DNS[未登录] 2008-04-08 13:50 yy

方便呀方便呀  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航: