I'm trying to write a script (batch, vbscript, kixtart, autoit or even an EXE) that can redefine the list of preferred wireless networks on the computer. It needs to remove whatever wireless networks are there, and then add the two that I want to have in there, complete with WEP key.
The closest I found was this:
But it still isn't quite right. That just does a sendkeys to the wireless network setup wizard. Can anyone help me out?