[[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\Classesfor the user (or the computer for a machine-wide install), with aBachAppmark. Only marked entries are changed or removed. - Two names that differ only in punctuation would use the same key and are refused.
bach inspectshows them asRight-click.