asked on
SSID="SSIDName"
Key="PSK"
Dim objShell:Set objShell=CreateObject("Wscript.Shell")
With objShell
.Run "control netsetup.cpl"
wscript.sleep 100000
.AppActivate "Wireless Network Setup Wizard"
.SendKeys "%NSN" & SSID & "%M" & "{TAB}" & " n"
.SendKeys "%W" & Key
.SendKeys "%O" & Key
.SendKeys "%NSN+{Tab}~"
End With
Set objShell=Nothing
ASKER
ASKER
Microsoft Windows XP is the sixth release of the NT series of operating systems, and was the first to be marketed in a variety of editions: XP Home and XP Professional, designed for business and power users. The advanced features in XP Professional are generally disabled in Home Edition, but are there and can be activated. There were two 64-bit editions, an embedded edition and a tablet edition.
TRUSTED BY
This would do the job : http://code.mincus.com/31/windows-wireless-api/
Work on it and make your script based upon it.