SSID or router mac address from command line?

C

chris

Hi, I am working on a batch file which will automatically configure my
ip settings. I want to be able to just click it and watch it go. Sure
I could enter which network to configure for manually, but that would
be boring. I want it to figure it out for itself.

So I need some way of having it identify wich settings to use. If I
could get the current SSID or rounter mac address from command line
somehow, I figure that would do it. Does anyone know how to do either
of those things?

Alternatively can anyone think of another way to do this?
 
P

Pegasus \(MVP\)

chris said:
Hi, I am working on a batch file which will automatically configure my
ip settings. I want to be able to just click it and watch it go. Sure
I could enter which network to configure for manually, but that would
be boring. I want it to figure it out for itself.

So I need some way of having it identify wich settings to use. If I
could get the current SSID or rounter mac address from command line
somehow, I figure that would do it. Does anyone know how to do either
of those things?

Alternatively can anyone think of another way to do this?

Since you're after some entertainment, have a look at netsh.exe.
There is very little that you cannot do with it!
 
C

chris

I just realized this will not work like this... I if I am proposing to
take incorrect ip settings and correctify them, that means initially I
will not be able to see the network. If I cannot see the network then
I can't get these settings... Ill have to think of something else.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top