Please ask me the next ipconfig > IP.txt
But I only need the name of the network card with 192.168.1.1
That is, the 4th line above "IP Address. . . . . . . . . . . . : 192.168.1.1"
Set the following string "Realtek RTL8169/8110 Family Gigabi" as a variable
set CardName=Realtek RTL8169/8110 Family Gigabit
How to do it? Because the card name will change, but the first two strings of the IP will not change, that is, 192.168 is fixed. Thank you
[ Last edited by willsort on 2005-10-27 at 20:09 ]
But I only need the name of the network card with 192.168.1.1
That is, the 4th line above "IP Address. . . . . . . . . . . . : 192.168.1.1"
Set the following string "Realtek RTL8169/8110 Family Gigabi" as a variable
set CardName=Realtek RTL8169/8110 Family Gigabit
How to do it? Because the card name will change, but the first two strings of the IP will not change, that is, 192.168 is fixed. Thank you
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 ]
