问题
I am trying to write a batch to automatically connect to a WiFi connection that has been set before on the system, I have tried using some other methods such as using NirCMD but unfortunately that doesn't work either.
any help would be appreciated
thanks in advance
回答1:
You can use this command from a dos console:
netsh wlan connect name=[wireless network]
来源:https://stackoverflow.com/questions/19039515/connect-to-a-wifi-network-using-batch-or-vb-script