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,228 of 68,980    |
|    Zaidy036 to All    |
|    Re: Available Networks    |
|    18 Dec 23 21:32:13    |
      XPost: alt.comp.os.windows-10       From: Zaidy036@air.isp.spam              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.              --- 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