- Use the Start menu’s Run option to launch Regedit.
- Navigate to HKEY_CLASSES_ROOT\*. (This should be the very first subtree.)
- A key called "shellex" should already be here. Add a new key called "Shell" at the same tree level as "shellex."
- Under the "Shell" key, create another key called "Notepad."
- Create another key under the "Notepad" key called "Command."
- You'll see a string value named Default when you highlight the "Command" key. Double-click Default and enter "NOTEPAD %1" (without the quotation marks). Click OK.
- Exit Regedit and test it out.
Note: The full path to the correct Registry key is:
HKEY_CLASSES_ROOT\*\Shell\Notepad\Command

No comments:
Post a Comment