这个 是用ipconfig得到的:
Windows IP Configuration
Ethernet adapter 本地连接 2:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . . . . :
Ethernet adapter 本地连接 3:
Media State . . . . . . . . . . . : Media disconnected
我的目的:
提取有"IP Address"的那个网络连接为变量,不管是本地连接几
[ Last edited by zg888 on 2007-7-27 at 04:26 PM ]
Windows IP Configuration
Ethernet adapter 本地连接 2:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . . . . :
Ethernet adapter 本地连接 3:
Media State . . . . . . . . . . . : Media disconnected
我的目的:
提取有"IP Address"的那个网络连接为变量,不管是本地连接几
[ Last edited by zg888 on 2007-7-27 at 04:26 PM ]
