After long research on how to use the windows command prompt to automatically create its own ad-hoc network, we came up with this script.
netsh wlan add profile filename="C:/Users/Taka/Desktop/DataFlo.xml" interface="Wireless Network Connection"
netsh wlan connect ssid="DataFlo" name=DataFlo interface="Wireless Network Connection"
The XML file contains profile information on the DataFlo ad-hoc network. It will be password protected with WEP protection so computers without WPA capabilities can also connect to it.
Since this is located in a .bat file, one click on this bat file will automate these two commands. It takes about 4 seconds for the network to be connected.
netsh wlan delete profile name="DataFlo" interface="Wireless Network Connection"
This command will delete the DataFlo profile. Once this profile is deleted, the computer should automatically reconnect to the wireless profile that it was previously connected to.
The XML file is located here: https://docs.google.com/leaf?id=0BzR604KXSTxKY2U4ZjYyMjAtNjAxYi00NTA4LTk5NDMtOTk4NTJlZTE5YTZj&sort=name&layout=list&num=50
No comments:
Post a Comment