10.11.10

How to Create a Right Click Menu in Windows 7 for GVim or Other Green Program?

Very simple.

  • regedit
  • HKEY_CLASSES_ROOT/*/shell
  • Create a key with any name you like, e.g. “Edit with GVim”. After that, please test it with you Explorer by right click on any files. You will see a new menu item there.
  • Create a new key as “command” underneath. You must use “command” as the key.
  • Set the string value of command key: <command path> “%1”
    • e.g.: C:\Tools\vim73\gvim “%1”

That’s it.

No comments: