- Aug
- 2,320
- 111
I am using;
In the system tray, I have the network icon enabled, which, when I pass the mouse over it, tells me which wireless network I am connected to, either WIND-F123t, or AndroidAP1234.
I have been googling all over the place, looking for a command line utility which will tell me what wireless network I have active.
I could write my own utility, but not sure what API to call. I have looked into the NLM (Network List Manager) at http://msdn.microsoft.com/en-us/library/windows/desktop/aa370803(v=vs.85).aspx and think this might be my starting point.
I have several batch files, that I only want to run when connected to a specific wireless network. At present, I must determine this manually, as discussed previously.
If anyone has already done something like this, or can provide positive suggestions, it would be appreciated.
Joe
Code:
TCC 15.01.55 Windows Vista [Version 6.0.6002]
TCC Build 55 Windows Vista Build 6002 Service Pack 2
In the system tray, I have the network icon enabled, which, when I pass the mouse over it, tells me which wireless network I am connected to, either WIND-F123t, or AndroidAP1234.
I have been googling all over the place, looking for a command line utility which will tell me what wireless network I have active.
I could write my own utility, but not sure what API to call. I have looked into the NLM (Network List Manager) at http://msdn.microsoft.com/en-us/library/windows/desktop/aa370803(v=vs.85).aspx and think this might be my starting point.
I have several batch files, that I only want to run when connected to a specific wireless network. At present, I must determine this manually, as discussed previously.
If anyone has already done something like this, or can provide positive suggestions, it would be appreciated.
Joe