How to find the name of your interface for netsh.
In a previous post I had a ip changing script that used netsh to change the ip addresses.
The main syntax being: "netsh interface ip set address "Local Area Connection" static 192.168.1.53 255.255.255.0 192.168.1.1 1
However in windows 8, there are two issues:
1) you now have to use ipv4 instead of ip,
2) my previous method of using ipconfig to find the name of the network connection to use, doesn't work.
For the second issue I would get the error: "The filename, directory name, or volume label syntax is incorrect."
To find the correct name for your connection (where it says "Local Area Connection" above), type in:
netsh interface show interface
This will list the currently enabled interfaces, which hopefully will include the one you're trying to mess with. If the one you want isn't listed, make sure it's associated with a wireless network (if it's the Wi-Fi interface), or the network cable is plugged in if it's a wired interface.