I can think of 2 ways. 1 - write a WMI script to change the address - Win32_NetworkAdapterConfiguration - you will need to search all adapters to find out which one to change and 2. Hack the registry - look in HKLM\System\CurrentControlSet\Services\Tcpip\Parameters.
Be cautioned that this is not really a good idea. If you are not on the same subnet, which do you change first? Ip address or default gateway? Do you need to change the subnet mask? Also, once you change the IP address you will be disconnected. XP applies changes without a reboot.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.