Skip to main content
[[context_menu]] adds entries to Explorer’s right-click menu that start your app with the clicked file or folder.
bach.toml

What to know

  • Windows 11 shows these entries under “Show more options”. The short menu is reserved for apps with a packaged shell extension.
  • Selecting several files starts one copy of your app per file.
  • Entries are written to HKCU\Software\Classes (HKLM for a machine-wide install) with a BachApp mark. Setup changes and removes only entries with its own mark, and leaves an entry of the same name that another program made.
  • Two entries whose names differ only in punctuation would share a key, so they are refused.
  • bach inspect lists each entry as Right-click.