title: How to add new items to right-click event on Folders and Files in Windows?
body: <p>I did google couple of tutorials on google.</p>
  
  <p>I am able to add right-click menu item to a <strong>FOLDER</strong> by doing this:</p>
  
  <pre><code>[HKEY_CLASSES_ROOT\Directory\shell\Command]
  @="TestRightClick:"
  
  [HKEY_CLASSES_ROOT\Directory\shell\Command\Command]
  @="myExecutable.exe %L"
  </code></pre>
  
  <p><strong>I need to add this to a FILE as well.</strong>  </p>
  
  <p>1) Where do I add it in the registry? </p>
  
  <p>2) And how do I pass parameters to my executable in case if I am selecting multiple files?</p>
  
  <h3>Related:</h3>
  
  <p><a href="https://stackoverflow.com/questions/1826791/how-to-pass-in-multiple-file-folder-paths-via-a-rigth-click-eventverb-to-an-exe">How to pass in multiple file/folder paths via a rigth-click event(verb) to an executable?</a></p>