How does Win8.1 restore the default open mode of bat files?

  

The bat file is a batch file under dos and can be run normally with a double click. However, a Win8.1 user accidentally set the default open mode of the bat file to open with Notepad, resulting in the inability to run the batch file. So how do you restore the default open mode of the bat file? The method is very simple, the following small series teaches you to use the registry to modify the way the bat file is opened.

operation is as follows:

1, Win + R, type regedit to open the registry;

2, Found: HEKY_CURRENT_USER \\ Software \\ Microsoft \\ Windows \\ CurrentVersion \\ Explorer \\ FileExts \\ .bat \\ userChoice, which is part of the red circle of your choice notepad.exe open, delete the folder userChoice, Note: It is userChoice entire folder;

3, restart the system The .bat file has been modified to the default open mode.

About the bat file to restore the default operating mode of the open method, give a share to the side. If you are using the bat batch file, you will not be able to run. Generally speaking, the default open mode is changed. You only need to set the open mode.

Copyright © Windows knowledge All Rights Reserved