I'm creating a batch-file that executes a command once a specific WiFi network is available in the list of networks. I've managed to get the script working, but to accelerate the detection process (>3 minutes) I need to execute a wifi-scan again.
As the network detection process will happen in the background, using the solutions on a previous question won't work as the device needs to remain connected to a WiFi network during the process.
As far as I know this is not possible in CMD alone. My question is:
How can I scan for new WiFi networks in CMD using either
- A native command
- VB Script
- A pre-compiled EXE