Adding Context Menu Entries to Windows Explorer
Add registry entries for folder and background context menu items
Folder Context Menu
Root Key
HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER - \SOFTWARE\Classes\Directory\shell
New Keys/Values
- Add new key 
[MyAppName]to root key, default data value:Open With [MyAppName] - Add new (Expandable) String Value 
Iconto 1, data value[Path to App exe/icon file] - Add 
commandkey to 1, default data value"[Path to App exe]" "%V" 
Background Context Menu
Root Key
HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER - \SOFTWARE\Classes\Directory\Background\shell
New Keys/Values
Add keys/values as per Folder Context Menu.
