| View previous topic :: View next topic |
| Author |
Message |
Gast w/o Nick Guest
|
Posted: Thu Dec 06, 2007 11:36 pm Post subject: Restarting Wireless network card driver |
|
|
Hi,
I'm looking for an easy way to restart my wireless lan on my
laptop when it looses the network. Manually, I deactivate the network
and then activate it again.
Any easy way of doing this in AHK other than using the GUI?
I've seen posts about DEVCON here
(http://www.autohotkey.com/forum/viewtopic.php?p=8838#8838)
Anybody understand how to restart the wireless lan with this tool? |
|
| Back to top |
|
 |
instantrunoff
Joined: 13 Jan 2008 Posts: 76
|
Posted: Fri Jan 25, 2008 6:13 pm Post subject: |
|
|
This is actually kind of simple, luckily:
In a command prompt (btw, I keep tools like this in a folder that I've added to PATH):
Look for your adapter in the list and make a note of a pretty long ID
you can then add that id to this:
where "ID" is the ID you found above, and this command will restart your network adapter. In an AHK script, put "Run" and any path if necessary in front of devcon[/code] |
|
| Back to top |
|
 |
k3ph
Joined: 21 Jul 2006 Posts: 99
|
Posted: Thu May 15, 2008 6:44 pm Post subject: |
|
|
why not using ipconfig ?
| Code: | ipconfig /release "wireless"
ipconfig /renew "wireless" |
where wireless is the name of ur wireless card (or wired card) |
|
| Back to top |
|
 |
|