I would like to change an IP address in a Wireless network connection with a cmd line. I have tried:
Netsh -c "interface ipv4" set address name=”Wireless Network Connection” static 192.168.168.6 255.255.255.0 192.168.168.168
*Note The above cmd belongs all on one line
I'm getting an error saying: the filename directory name or volume label syntax is incorrect
The second question I have is, I would like to know how to set the secondary DNS. I think this cmd is working for the primary DNS:
netsh interface ipv4 set dnsservers "Wireless Network Connection" static 8.8.8.8 primary validate=no
I'm working in Win7 Ultimate 32bit