# 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?

-

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

-
Bingo! That worked like a charm. Thanks for the info. –  slolife Nov 12 '09 at 17:38
I was searching for a way of doing the same thing for editing HTML files. The program worked well. –  Jeromy Anglim Jun 7 '10 at 6:57

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.
Change it to "C:\Path\to\your\image\program.exe" "%1" including the " and it should work.

-

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" just point it to your desired word editor.

kudos to CGA

-
Interesting/useful but (in my view) not an answer to the OP, and the accepted answer is 'generic' and should deal with Notepad++ etc anyway. So, a bit reluctantly!, -1. I suspect the proper 'form' may have been to ask for Notepad++ as a question, wait a day or two and then, if not answered by other/s answer it yourself. –  pnuts Dec 1 '12 at 8:18
I have the same problem with the notepad/notepad++ but if I go to regedit and search for the path you provided - there is not text\shell\edit etc. –  static Jul 29 '13 at 16:04