In windows xp, how can I write a script to change the ip address, subnet mask, default gateway, primary and alternate DNS of a specific LAN card by changing the regedit directly? and how to change back to auto obtain ip and dns with the same method ?Write a script to change LAN ip, subnet, dns?
netsh is the command you want. I don't know much of the syntax so I'd best leave it to a pro, checkout the sources:
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment