Windows Explorer right click context menu for files and folders

会有一股神秘感。 提交于 2019-11-30 15:26:56
rkosegi

I think the right way is to write ContextMenuHandler and register it as shell extension.

You can find lot of samples like here, here or here

Context menu handlers are registered under key

HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers

There are similar questions on SO already:

How to pass in multiple file/folder paths via a right-click event (verb) to an executable?

How to Pass MULTIPLE filenames to a Context Menu Shell Command?

Windows context menu for multiple files [C++]

Taking multiple files (arguments) from Windows shell context menu on C#

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!