For files:
HKEY_CLASSES_ROOT\*\shell\
For directories:
HKEY_CURRENT_USER\Software\Classes\Directory\shell\
HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\
- Add a Key with: <Application Name> with default value <Title of menu item>
- Add a string value Icon with an exe name containing an icon as embedded resource
- Add a sub Key “command” with default value an exe name.
104400cookie-checkWindows shell context menu option