請問我下ipconfig > IP.txt
但是我只需要 192.168.1.1 這張網路卡的名字
也就是 IP Address. . . . . . . . . . . . : 192.168.1.1 往上數第4行
要把後面這串文字"Realtek RTL8169/8110 Family Gigabi"設為變數
set CardName=Realtek RTL8169/8110 Family Gigabit
請問要如何做呢 因為卡名會變 但是ip的前面兩組字串不會變 也就是 192.168是固定的 謝謝
[ Last edited by willsort on 2005-10-27 at 20:09 ]
但是我只需要 192.168.1.1 這張網路卡的名字
也就是 IP Address. . . . . . . . . . . . : 192.168.1.1 往上數第4行
要把後面這串文字"Realtek RTL8169/8110 Family Gigabi"設為變數
set CardName=Realtek RTL8169/8110 Family Gigabit
請問要如何做呢 因為卡名會變 但是ip的前面兩組字串不會變 也就是 192.168是固定的 謝謝
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : z-h
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Broadcast
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Lan:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8169/8110 Family Gigabit
Ethernet NIC
Physical Address. . . . . . . . . : 00-0D-61-7A-99-88
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . :
PPP adapter ADSL:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-33-11
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 61.230.1.1
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 61.230.1.1
DNS Servers . . . . . . . . . . . : 168.95.1.1
168.95.192.1
[ Last edited by willsort on 2005-10-27 at 20:09 ]
