Skip to main content
[[context_menu]] adds an entry to File Explorer’s right-click menu that starts your app with the clicked item. For example, a notes app might add Add to Hello Notes for text files.
bach.toml

Behavior

  • On Windows 11 the entry appears under Show more options.
  • With several files selected, your app starts once per file.
  • Entries are written under Software\Classes for the user (or the computer for a machine-wide install), with a BachApp mark. Only marked entries are changed or removed.
  • Two names that differ only in punctuation would use the same key and are refused.
  • bach inspect shows them as Right-click.
Windows only.