How to add submenu items to the Windows Explorer context menu?
I can create a menu item in the Windows Explorer context menu by adding keys in the registry to HKEY_CLASSES_ROOT\Folder\shell . How can I create submenu items to the just created menu item? I believe anything non-trival you'll have to create a Context Menu Handler . You'll have to create a COM object that will create the menus and carry out the commands as they're clicked. I've only done this using C++ and COM. I'm not sure if there are easier ways to do this. Use SubCommands "SubCommands"="[NameOfMenu]" Example for creating submenu for .TS files: [HKEY_CLASSES_ROOT\SystemFileAssociations\.ts