Can't create files to start and stop Wi-Fi Sharing in Windows 10

Pin
Send
Share
Send

Question: I configured the distribution of a Wi-Fi network on my laptop according to this instruction: https://help-wifi.com/nastrojka-virtualnoj-wi-fi-seti/kak-razdat-wi-fi-s-noutbuka-na-windows- 10 /, everything works. There you wrote that you can create files, put commands in them, and manage a virtual Wi-Fi network by simply launching the desired file.

The problem is that I cannot create these files. More precisely, I cannot rename them to have a .bat extension. After I change the name of the text file, it all opens exactly as a text file, although it is called "start.bat". What to do? How do I create these .bat files in Windows 10?

Answer:

Yes, there is such a problem. I've been asked several times in the comments.

The whole problem is that the display of file extensions is disabled. And it turns out that we do not change the file extension to .bat, but simply rename it, and we get "start.bat.txt". But we do not see ".txt", since the display of extensions is disabled.

First, we need to enable the display of file extensions, and then just rename the files, changing their extension from ".txt" to ".bat". And everything will work.

Turn on the display of file extensions in Windows 10

Open Explorer, or go to "This PC", click on the "File" menu item, and select "Change folder and search settings."

Next, go to the "View" tab, find the item "Hide extensions for registered file types", and uncheck the box next to it. Click the "Apply" and "Ok" button.

Everything, can now rename files to control the distribution of a Wi-Fi network from a laptop.

When you change the name of the file and its extension, a warning should appear that the file may not be available. Click "Ok". This means that you did everything right.

After renaming, the file should look like this:

If you have already added the required command to the file, you can run it. A command prompt window will open for a couple of seconds and disappear. The distribution of the Wi-Fi network will immediately begin, or vice versa, it will stop.

You can see all the commands in the article on configuring the distribution of Wi-Fi in Windows 10. The link at the beginning of this post.

The files you create can be added to startup, and Wi-Fi sharing will automatically start when you boot your computer. Instructions: automatically start distributing Wi-Fi when you turn on the laptop.

I also created two ready-made files "start.bat" and "stop.bat", which you can download from this link, and just run to control the access point.

21.04.16

53

Asked by Andrey

Pin
Send
Share
Send

Watch the video: How to Connect Two Computers Via Networking u0026 Share File, Folder u0026 Printer Windows 10 (May 2024).

essaisrff-com