List of open methods for adding and deleting files in the Registry

Source: Internet
Author: User

Add:

 

1. Click Start and run, enter regedit, and click OK.
2. Open the Registry Editor and find the following path:

HKEY_CURRENT_USER/software/classes/Applications

For exampleProgramTest.exe
You can create an item as follows:
HKEY_CURRENT_USER/software/classes/applications/text.exe/Shell/Open/command
Then, modify the default value on the right of the command item:
"C:/program files/test/test.exe" "% 1"

Note: C:/program files/test/test.exe is the installation directory of the test application.

3. Refresh the Registry to view the newly added programs in the list of opened programs.

 

Delete:

 

1. You only need to delete the corresponding application item. To delete test.exe

Text.exe under HKEY_CURRENT_USER/software/classes/applications.

2. Enter HKEY_CURRENT_USER/software/Microsoft/Windows/CurrentVersion/Explorer/fileexts/. Extension/openwithlist
. Extension refers to the file extension you want to modify. Delete the key with the same name as the program you want to remove.

 

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.