2
2
I searched a lot related to netsh
and ipconfig /renew
and ipconfig /release
.
My idea is to write a batch file that would automatically connect to a particular wireless local area network using a network interface .
I tried using ipconfig /renew release
... but it cannot be used as my intention is to keep the media in a disconnected state before running the batch file ..
any suggestions ?
Edit:
Narrowed it down to
connect name=Profile2 ssid=SSID2 interface="Wireless Network Connection"
Where do i find the "name" in network and sharing center?
Hi Peehaa thanks for quick reply :) ... I tried that too .. the same poster says that the method has been lost and has been downgraded ... – None – 2011-06-02T00:20:49.023
@HelloWorld_Always: The poster says the reason the method got lost is because he downgraded his OS from Vista -> XP. So I don't know what clients you want to support with the batch file, but I you use >= Vista you should be ok. What error did you get when trying the method or are you on XP? – PeeHaa – 2011-06-02T00:28:43.327
it workd .. sorry for accepting after a long time – HelloWorld_Always – 2011-06-24T17:17:22.307
@HelloWorld_Always: No problem. Glad I could resolve your issue. And thanks for accepting the answer so other users know it works :) – PeeHaa – 2011-06-24T20:51:06.303