Restore the default open mode for. bat files

Source: Internet
Author: User

suffix name. dat files when you choose to open the way to open with Notepad, the result of the computer on the *.dat file open way into Notepad, did not modify the contents of the file, How to restore the. bat file default open mode?

Workaround:

1, click Start, in the search program and file input regedit

2, find: Computer \hkey_current_user\software\microsoft\windows\currentversion\explorer\fileexts\.dat

Will find there are openwithlist and openwithprogids two items if there are other options to remove it

3, and then the openwithlist in addition to the default of all key values are deleted

4. Delete all key values except the default and Lnkfile in the Openwithprogids.

5, Save the exit can (sometimes need to restart)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.