Add custom context menu to explorer for \ background directory

I have successfully added my own context menu item to all files ( HKEY_CLASSES_ROOT\*\shell\[mycontextmenu] ) as well as folders ( HKEY_CLASSES_ROOT\Folder\shell\\[mycontextmenu] ), but when I add it to HKEY_CLASSES_ROOT\Directory\Background\shell\\[mycontextmenu] , it throws an error

This file does not have an associated program to perform this action. Please install the program or, if it is already installed, create a link in the program control panel by default. "

Everything that I searched for Google just associates the file with a specific application, I just want to execute the MY application and transfer the directory to which the user right-clicked.

Any help or links to where I can find out how to do this?

thanks

+6
source share

Source: https://habr.com/ru/post/909857/


All Articles