Saturday, April 25, 2009

Creating a Default File Opener

If you have a un-registered file type and want to view it with Explorer's Right-click
you can add your program to the right-click options by:
  1. Starting Regedit
  2. Go to HKEY_CLASS_ROOT / Unknown
  3. Highlight the Shell Folder below it
  4. Right click on Shell and create a New Key
  5. Name it anything you want (For example NOTEPAD)
  6. Create a New Key under that named command
  7. Highlight the Command key
  8. Double click on the Default value in the right hand panel
  9. In Value Data, enter the path and filename of the program you want to use to open the file type
  10. For example: C:\WINDOWS\NOTEPAD.EXE %1
  11. Click on OK

In this example, when you right click on a file in Explorer, NOTEPAD will show up as an option.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...