Is there a consistent, foolproof way to get at the context menu items that Explorer shows when I right click on an item? I don't want to show a menu, I just want to parse the items in the background and execute them programmatically.
I've tried various combinations of IShellFolder, IContextMenu, and other COM interfaces and I cannot find anything that works consistently.
How to programmatically execute Windows Explorer context menu items?