- 帖子
- 11
- 积分
- 133
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2009-7-24
|
Windows IP Configuration
Host Name . . . . . . . . . . . . : GAME143
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Broadcast
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter 本地连接 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC
Physical Address. . . . . . . . . : 00-1F-D0-D7-2D-46
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.143
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 222.246.129.80
59.51.78.210
执行ipconfig /all 出现如上结果,我想把ip与网关地址从上面得出的结果中查找出来并输出在屏幕上,
应该怎么用for命令实现啊? |
|