Question : Changing DNS address of Netowork interface Card using windows script.

I am using Windows XP, I need one help. I am having two network card. How to change DNS address (Preferred and alternate)  of both network card using windows script?

Thanks in advance.

Answer : Changing DNS address of Netowork interface Card using windows script.

This is the command
netsh interface ip set dns "local area connection" static 62.215.6.51 primary
Put the above command in a batch file.
Put secondary for secondary dns address.
For second network card the name might be "local area connection 2"
Random Solutions  
 
programming4us programming4us