How to make windows display only certain file extensions

Source: Internet
Author: User

Windows "Resource Manager" has an option to show or hide file extensions. ", It is easy to be fooled. On the other hand, it always shows that all file extensions do not look neat enough and increase the risk of unintentional changes to the file type. The ideal solution is to show only some file extensions that may be implicitly risky, while hiding the extensions of other files.

First, force the extension of the EXE file to be displayed. Open the "register table Editor" tab and find "exefile(not .exe)" in "Export hkey_classes_root= ). Select the registration key, right-click the blank position in the right pane of the Registry Editor, select "New> string value", set the value name alwaysshowext, and close the registry editor.

After the registration key is modified, the extension of the EXE file is clearly displayed in resource manager or other software, the same applies even if you have selected the "Hide extensions of known file types" option.

To maximize security, we recommend that you repeat the following registration keys in "hkey_classes_root": external file, comfile (applicable only to Windows 2000/XP), batfile, and scrfile. If you are worried that someone will send you a malicious script file, you can also add alwaysshowext values for the following registration keys: jsfile, jsefile, vbefile, vbsfile, and wsffile.

Related Article

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.