[[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(HKLMfor a machine-wide install) with aBachAppmark. 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 inspectlists each entry asRight-click.