Changing IP from command line
I'm trying to change IP of my computer from command line. I'm using
netsh interface ip set address name = "Connessione alla rete locale
(LAN)" source = static addr = 192.168.210.130 mask = 255.255.255.0
(I'm using italian version)
The above command works under Windows XP but it doesn't modify IP
under Windows Vista.
If I use the same tecnique to modify gateway it works under Vista too
@netsh interface ip set address name = "Connessione alla rete locale
(LAN)" gateway = 192.168.210.45 gwmetric = 1
Is it possible to change IP from command line under Windows Vista ?
Thanks in advance,