Just came across a script (BAT - for Windows) to update the IP address of a Windows XP system from the command line:
netsh int ip set address "local area connection" static 192.168.0.XXX 255.255.255.0 192.168.0.XXX 1
Where the first octet is the IP address you would like to assign and the last octet is the gateway IP address. The changes can be verified by running the command: ipconfig /all
You can create a .bat file and place this command in it to run it directly without even opening the command line. :-)
No comments:
Post a Comment