How to add new items to right-click event on Folders and Files in Windows?

后端 未结 4 2052
一个人的身影
一个人的身影 2020-12-03 04:14

I did google couple of tutorials on google.

I am able to add right-click menu item to a FOLDER by doing this:

[HKEY_CLASSES_ROOT\\Di         


        
4条回答
  •  孤城傲影
    2020-12-03 04:48

    1. Files have context menus by extension. Add your Command registry keys to the appropriate extension or HKEY_CLASSES_ROOT\* to affect all files.
    2. You can use %1 to pass the filename to the application (much like you've indicated with %L above). If you select multiple files, each will be called separately, as if you right-clicked each one individually.

    I'm not aware of any easy way to pass multiple items from a right-click context menu to one executable instance.

提交回复
热议问题