How to identify local networks

Networking, connecting to the internet, wi-fi and home entertainment
User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15498
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

How to identify local networks

Post by ChrisGreaves »

Connected.png
This is what my eyes see when I am in the Northam building at Bell-Trinity.
When I am in the library I see something like "Toronto Public Library".

Is there an easy way, in either DOS (or I suppose VBScript) or VBA to detect the top-member of this list?

This is not a critical issue at all for me. I operate with different documents depending on whether I am at the library or at Northam, and I thought it might be nice/cute to have my boot sequence be smart enough to differentiate between my locations based on the available networks.

FWIW I could imagine inhibiting some features on my system if the closest network were a well-known chain of coffee-shops.

Again, this is a non-critical question, for me.

TIA Chris
You do not have the required permissions to view the files attached to this post.
An expensive day out: Wallet and Grimace

User avatar
StuartR
Administrator
Posts: 12577
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: How to identify local networks

Post by StuartR »

You would need to parse the output of
DOS command wrote: netsh wlan show network
StuartR


User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15498
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: How to identify local networks

Post by ChrisGreaves »

StuartR wrote:You would need to parse the output of ...
Untitled.png
:hugs and kisses:

Thank you Stuart!
You do not have the required permissions to view the files attached to this post.
An expensive day out: Wallet and Grimace

User avatar
StuartR
Administrator
Posts: 12577
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: How to identify local networks

Post by StuartR »

Thank you for the :hugs and kisses: Chris

:kiss: :hugs: :hugs: :kiss:
StuartR


User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15498
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: How to identify local networks

Post by ChrisGreaves »

StuartR wrote: :kiss: :hugs: :hugs: :kiss:
Oooooh! :networking: !
An expensive day out: Wallet and Grimace