|I need a batch file to discover the current IP (no need for the wan IP) on a Windows PC running XP, Vista or 7|
I already used IPCONFIG method but the result is different if you have multiple NIC on the machines. This was working except from Vista where I have the unused IP coming from the wireless displayed.
Ipconfig /n 3 -i 1 -w 1 www.google.com | arp -a | find "Interface"
Many thanks for your help,