Skip to main content

How to create batch file to start wifi hotspot in windows 7,8,8.1,10

To create the batch file to run the wifi hotspot first you have to create the hotspot. That tutorials is available in this link.

After that, you can create the batch file for running the hotspot. A batch file is a file by opening that, it will execute some instruction(s). In this case, the command to start hotspot.

Step 1:
Go to start menu and open a 'Notepad'.


Step 2:
Type without quotation "netsh wlan start hostednetwork".


Step 3:
Then save it as ".bat" file anywhere as you wish.


Step 4:
To run the hotspot simple switch on your wifi and right click on the file and click "Run as administrator". Done Your hotspot is on.

Comments