On my CD-ROM I have this file: ip.txt
which has the content:
ip="192.168.1.1" netmask="255.255.255.0" gateway="123.456.789.2"
How can I extract from ip.txt
the IP, netmask and gw and use as command to setup the IP.
I know the command works like this: netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1
But I do not know how to make a batch file to extract the info I need from the ip.txt
file, do you know how that may be done?
Thanks.