http://blog.csdn.net/feng19821209/article/details/5221107
Add to:
1. Click "Start", "Run", enter regedit in it and then OK.
2. After opening the Registry Editor, locate the following path:
Hkey_current_user/software/classes/applications
For example, the open program to be added is Test.exe
Then you can create a new item like this:
Hkey_current_user/software/classes/applications/text.exe/shell/open/command
Then modify the default value to the right of the command entry to:
"C:/Program Files/test/test.exe" "%1"
Note: C:/Program Files/test/test.exe is the installation directory for the test application.
3. Refresh the registry to see the newly added program displayed in the list of open programs.
Delete:
1. Simply delete the corresponding application item. such as delete test.exe, just delete
The Text.exe item 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 name extension that you want to modify. Delete the key with the same name as the program you want to remove.
C
Registry Add and remove file Open with List