If I right click a JPG or PNG file, the "Edit" option opens MS Paint, whereas I would like it to open GIMP. I found the ShellMenuView and ShellExView programs, but I can't find the relevant entries.

In fact, ShellMenuView has an entry for .png that says Edit with GIMP and appears to call the correct executable, but this doesn't appear in the menu (and I don't really want it clogged up with two Edit options).

I have also looked in the registry and see these keys:

  • HKEY_CLASSES_ROOT\*\OpenWithList\MSPaint.exe\ (which has only one entry, (Default) with blank Data)
  • HKEY_CLASSES_ROOT\.png\ with folders OpenWithPrigId and PersistentHandler.
  • HKEY_CLASSES_ROOT\pngfile\shell\ with folders crush (PNGcrush which I added myself a while back) and open.

I saw this question but that only applies to Windows XP and doesn't work in Vista. The "File types" tab is not there, and "Set Associations" in the Control Panel only sets the "Open with" menu.

So how and where can I change what the "Edit" option in the context menu does?


Easier answer: Use NirSoft's FileTypes Manager like so:

In the upper pane, find and select the .JPG Extension.
Create a "New Action" (Actions/New Action or lower pane/right-click/New Action).
Set the Action Name and Menu Caption to "Edit" and browse to the .EXE that should edit the file.
Click OK to save your changes.
Presto, now Windows does what you want.
Apparently, this new setting just overrides the existing Edit command.


You ought to be able to create the key yourself. For example, this registry entry should assign MS Paint to the edit verb:

Windows Registry Editor Version 5.00


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.