is to make your PC available as a WiFi hotspot and then surf the internet for other WiFi-enabled devices
First of all, your computer must have a normal use of the wireless network card
Spacek, start the command, (note: The command is run in a command prompt in Windows)
Disable the hosting network: netsh wlan stop hostednetwork
Configuring the Hosting Network: netsh wlan set hostednetwork mode=allow SSID=ABCDE key=123456789
Enable the hosting network: netsh wlan start hostednetwork
To remove a hosted network: netsh wlan set hostednetwork mode=disallow
Haha, that's it. Four commands, where "disabled" corresponds to "Enabled", and "configuration" corresponds to "delete".
First Use method: First Use the "Configuration" command, then into the "Network and Sharing Center"---> "Change adapter Settings", you will find a wireless network connection, find the network you have connected to the Internet, then right-click, "Properties", "Sharing" tab, tick " Allow other users ... ", in the list below, select the" Wireless network connection "that you just created using the" Configure "command," OK ".
The next step is to use the Enable command.
Note: the "ABCDE" in the configuration command is the name (SSID) of the hotspot created, and "123456789" is the password for the hotspot, both of which are modified as needed
Create a WiFi hotspot using the command line in Windows 7