How to change ip from cmd on vista

Solved/Closed
kostas - Aug 22, 2008 at 05:30 PM
 meedo - Oct 2, 2008 at 04:56 AM
Hello,

i know the command netsh int ip set address "local area connection" static 192.168.0.101 255.255.255.0 192.168.0.254 1

but on vista there is no my network place, only network center so which is the name of the area connection?

MY ploblem is that my laptop doesn't save its ip (i dont know why but ok) so everyday i need to write its ip and all the others.... so my idea is to create a bat file with all commands and add it to the startup. The connection is wireless.....
Related:

1 response

well ...
u know the command netsh command...
there is an option to save the settings that u have configured for use later ...
after configuring the ip, subnet mask, and gateway u can save these configs to a certain file by running the command:
netsh -c interface dump > c:\file1.txt
the settings get saved to the file : file1.txt
and then when u need to use these settings again , u can use the command :
netsh -f c:\file1.txt
and the settings u made will be used again
hope this is useful ...
1