"Open in Voyager7" in Explorer's context menu
Status: proposed. Date: 2026-11-29. Owner approved: no.
Windows Terminal adds "Open in Terminal" to Explorer's menu for folders. Setup offers the same for Voyager7: an Integration checkbox, "Add 'Open in Voyager7' to the Explorer context menu", checked by default.
Decision
Setup writes classic static verbs, one key per Explorer class, in the
install scope's hive: HKCU\Software\Classes for "Just me",
HKLM\Software\Classes for "All users".
| Class | Shows on |
|---|---|
Directory\shell\Voyager7 | a folder, including folders inside libraries and in the navigation pane |
Directory\Background\shell\Voyager7 | a folder's empty background, and the desktop's |
Drive\shell\Voyager7 | a drive |
LibraryFolder\background\shell\Voyager7 | a library's empty background |
Each key holds the text Open in Voyager7, Icon =
<install>\voyager7.exe,0 and command =
"<install>\voyager7.exe" "--working-directory=%V\."
%Vis the item clicked, or on a background the folder Explorer's view passes (CMINVOKECOMMANDINFOEX.lpDirectory; checked on both VMs with a marker folder). In a library that should be the library's default save folder, as Git for Windows' "Git Bash Here" relies on; it was checked with that folder supplied, not from a real right-click in a library window. Explorer starts the exe itself (no cmd), so&,^and spaces in a folder name are plain characters. The value isREG_SZ, so%in a folder name is not expanded.- A drive root is
C:\. Quoted as"…C:\", its last backslash would escape the closing quote (CommandLineToArgvW). The command adds\.after%V, and--working-directoryresolves the path withGetFullPathNameW(C:\\.becomesC:\,C:\a b\.becomesC:\a b). This also covers a UNC share root. - It is a plain launch of
voyager7.exe, so it does what any other start does: it joins the running instance (sameclass) as a new window, or starts one. Voyager7 has no "new instance behavior" setting yet. If one is added, it belongs in that plain-launch path (main.rssends+new-window), and the menu follows it without a registry change. - A test setup (
VOYAGER7_SETUP_TEST_ID) names its verbsVoyager7-Acceptanceand adds--class=voyager7-acceptance. It never touches the real keys, and its windows never join the owner's Voyager7.
The choice is slot 7 of the Choices value; /nocontextmenu leaves it out.
Every install, upgrade or re-run deletes the four keys and then writes them
again if the box is checked. Unchecking the box therefore removes them, and
a moved install folder gets fresh paths. Uninstall deletes them. An install
from before this choice existed has no slot 7, so the choice is checked on
upgrade, as the optional fonts were. +version --full reports
Explorer menu : on | off | on, keys missing | off, keys present, comparing
the saved choice with the command each key actually holds.
Why checked by default: the owner asked for it the way Windows Terminal has it, and Windows Terminal always adds its entry. It installs no code into Explorer (static keys only), it is limited to the install scope, setup removes it completely, and on Windows 11 it sits under "Show more options".
Windows 11's top-level menu: not possible without a package
On Windows 11, classic static verbs and IContextMenu handlers appear only
under "Show more options" (or Shift+F10). The new top-level menu lists only
commands that:
- are
IExplorerCommandCOM servers (in-process DLLs that Explorer loads), and - are declared in an app package manifest
(
desktop4:FileExplorerContextMenus/desktop5:ItemType).
That means the app needs package identity. An unpackaged app can get it from a sparse package ("package with external location", Windows 10 2004 and later). The sparse package must be signed with a certificate the machine trusts. A self-signed certificate would have to be installed into the machine's Trusted People or Root store, which takes administrator rights and is a security change no terminal installer should make. Voyager7's alpha packages are unsigned.
The only other route is the well-known per-user registry switch that brings back the classic menu for every app. It changes the whole of Explorer for that user and is not ours to flip.
So the top-level entry waits for a signed package. At that point it needs
an IExplorerCommand DLL (x64, plus ARM64 if that is ever shipped) and the
manifest entries. The static verbs stay for Windows 7 to 10. On 11, the
package's command would replace them (PowerToys registers both and shows two
entries).
Sources: Microsoft, "Extending the context menu and share dialog in Windows 11" (Windows blog, 2021-07-19); "Integrate a packaged desktop app with File Explorer" (learn.microsoft.com); "Grant package identity by packaging with external location" (learn.microsoft.com).
Not done: a Shift-only "Open Voyager7 profile here ▸" submenu
Profiles are per-user files (ADR 0013) that change at any time: in Settings, in a text editor, or when new shells are detected.
- A static submenu (
ExtendedSubCommandsKeyorSubCommands) is a list of registry keys, written once. It goes stale as soon as a profile changes. An all-users install's HKLM keys cannot list one user's profiles. Refreshing HKCU on every profile change would needvoyager7.exeto rewrite the registry, and it would still miss edits made while Voyager7 is not running. - A menu built at click time needs a COM shell extension (
IContextMenuorIExplorerCommand) loaded intoexplorer.exe. A crash there takes down Explorer. It also adds a DLL to Setup.
Neither is simple and robust, so the submenu is left out. A cheaper later option is one Shift-only verb that opens Voyager7 in the folder with its profile drop-down open. That needs a CLI option Voyager7 does not have yet.