Tuesday, 23 August 2011

Creating a Default File Opener


If you have a unregistered file type you wish to open up with Notepad, you can add Notepad to the Context Menu of unregistered file types.
1. HKEY_CLASS_ROOT / Unknown / Shell
2. Create a new key named "Notepad" (without the quotes)
3. Create a new key under 'Notepad' named "Command" (without the quotes)
4. Modify the 'Default' value data for 'Command' to the path and filename of Notepad: C:\WINDOWS\NOTEPAD.EXE %1
5. This modification will work with any program

No comments:

Post a Comment