Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 68,257 of 68,980    |
|    Zaidy036 to All    |
|    Re: Available Networks    |
|    22 Dec 23 11:50:12    |
      XPost: alt.comp.os.windows-10       From: Zaidy036@air.isp.spam              On 12/18/2023 9:35 PM, Zaidy036 wrote:       > On 12/18/2023 12:24 PM, Zaidy036 wrote:       >> The following lists available Wi-Fi networks:       >> C:\WINDOWS\explorer.exe ms-availablenetworks:       >>       >> but I need the information in a text file or variable to make a       >> Windows batch to determine the strongest available signal and then       >> login to it.       >>       >> Suggestions please.       > Out of interest I made the following batch to output lists of SSIDs from       > the NETSH output:       > NOTES:       > first FOR /L cmd is number of lists to make.       > second FOR /L cmd is SSIDs to list, may line wrap.       > TIMEOUT is optional and number of seconds between lists       > FOR /L %%N IN (1,1,3) DO (       > DEL F:\_Network?.txt > NUL 2>&1       > C:\WINDOWS\explorer.exe ms-availablenetworks:       > NETSH.EXE WLAN SHOW NETWORKS >> F:\_NetworkS.txt       > FOR /L %%S IN (1,1,15) DO (FINDSTR /C:"SSID %%S " F:\_NetworkS.txt >>       > F:\_NetworkL%%N.txt)       > TIMEOUT /T 5 > NUL       > )       >       > Comparing F:\_NetworkL%%N.txt lists you will see that the order of SSIDs       > produced appears to be by signal strength and could be used to change       > Wi-Fi network connection.              I have searched but cannot confirm what criteria is used to set the       order of SSIDs produced by either:        A: C:\WINDOWS\explorer.exe ms-availablenetworks:        B. NETSH WLAN SHOW NETWORKS       and the lists are in different order.              A. First is the connected network followed by signal strength?       B. No obvious list order              Anybody know?              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca