title: Creating sub context menu items in the registry
body: <p>I need my app to create right-click context menu items (and sub-menu items). I'm not concerned with the code - but I don't know how to make sub-menu items in the registry. It's not as logical as one would expect.</p>
  
  <p>I've searched countless times already and have officially given up searching for now.</p>
  
  <p>I know that we can create a context menu item using regedit.exe by going to the shell key and adding a new one but how do I create sub menu items like 7zip for example?</p>
  
  <p><a href="https://i.stack.imgur.com/XZgDS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XZgDS.png" alt="Shows newly-created context menu item in the windows registry"></a></p>