The funny (actually scary) thing is that these two are not included in the check at all! I've only piggybacked them onto the existing associations which are needed anyway (and which are the only ones that are checked)
There are things between Windows and the Registry that nobody is able to explain...
Anyway, I fail to understand that approach with the submenu. From what I see, you register some kind of UID to some folder rather than a commandline, and this folder contains shortcuts to your program (
"item identifier list for the folder that contains the item whose shortcut menu is being displayed") -- whatever it is, I am not able to understand it, and neither can I find out how other submenus on my system (for example the one by TortoiseSVN) are made. There seem to be no folders or shortcuts that refer to any of the menu items anywhere on the filesystem.
Best not touch something you don't understand...
Now that C::B have batch builds from console it shouldn't be too difficult to include this.
Umm you know, this has been done already