在windows中用netsh命令修改ip地址網關和DNS等

2010年12月11日 KillTest 0条评论

第壹個是用netsh命令來修改電腦的IP地址,子網掩碼,默認網關和DNS.

  @echo off

  netsh interface ip set address "本地連接" static 192.168.0.1 255.255.255.0 192.168.0.254 1

  netsh interface ip set dns "本地連接" static 202.194.40.1

  netsh interface ip add dns "本地連接" 202.194.40.2 2

...更多...
分页:[«]1[»]

文章归档

站点统计

  • 文章总数:1585
  • 评论总数:0
  • 引用总数:0
  • 浏览总数:80137
  • 留言总数:0
  • 当前主题:寂寞
  • 当前样式:jimo

Powered By Z-Blog 1.8 Arwen Build 81206