Change Windows 7 explorer "Edit" context menu action for jpg and other image file types

When I right click on a jpg file in Windows Explorer (Windows 7), I see that there is an "Edit" menu item. If I click this item, it opens the image in MSPaint. Blah. I have Paint.NET installed, and I'd like to change the "Edit" action to open the image in Paint.NET.

How can I go about doing this?


Solution 1:

I found this little program while surfing the web: Default Programs Editor. I think it is able to do what you want.

Solution 2:

The registry key you want is:

  • HKEY_CLASSES_ROOT\Paint.Picture\shell\edit\command for .bmp files,
  • HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command for .jpg files.

Change it to "C:\Path\to\your\image\program.exe" "%1" including the " " and it should work.

Solution 3:

Hey just thought i would chuck this in since this page proved useful. i have been trying to change the EDIT function to point to Notepad ++ rather than Notepad for .txt files for a while now. Its under

HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit\command registry key, just point it to your desired text editor.

kudos to CGA