views:

356

answers:

1

There's probably some nice way of doing it (in Windows XP) in VBScript (or some other scripting language) with registry tweaks. Anyone know how?

+3  A: 

well if you don't mind just doing a regular batch script then you can use the netsh tool

It's been a while but I believe the command is something like this:

netsh interface ipv4 set address name=”Local Area Connection” source=static address=<ip address> mask=<netmask> gateway=<router ip address>

As far as vbscript and such I have no idea but I'm sure it's possible.

Jeremy Wall
Wow, that's impressive. And, hey, I'm not going to turn my nose up that that just because it's using batch commands.
boost