Windows 10能否将右键菜单项分组以简化右键菜单?
Hey there! Great question—this is absolutely doable on Windows 10, though it’s not as straightforward as using a basic right-click menu editor. Let me walk you through exactly how to set up that cascading "Other" menu you’re wanting, where your custom app entries hide under a single group that expands when you hover over it.
First: Confirm it’s possible
Windows 10 natively supports cascading (hover-to-expand) context menus, but you’ll need to edit the Registry manually to pull this off. Most third-party right-click tools don’t offer this specific grouping feature out of the box, so we’ll be working directly with regedit here.
Step 1: Locate your custom right-click entries
First, find where your custom menu items are stored in the Registry:
- Open Registry Editor by typing
regeditinto the Start Menu search bar and hitting Enter. - Navigate to either:
HKEY_CLASSES_ROOT\*\shell(for entries that show up on all file types)HKEY_CLASSES_ROOT\SpecificFileType\shell(e.g.,.txt\shellfor text-only entries)
- Browse through the keys here to identify the custom entries you want to group (each will have a
commandsubkey pointing to the app’s executable).
Step 2: Create your "Other" cascading menu
- In the same
shellkey where your target entries live (e.g.,*\shell), right-click theshellkey > New > Key. Name this key something likeOtherMenu(this is just the internal name—we’ll set the visible display name next). - With the
OtherMenukey selected, double-click the(Default)value on the right pane. Set its data to&Other(the&lets you use Alt+O as a keyboard shortcut if you want, but you can just useOtherif you don’t need that). - Now, add a string value to make this a cascading menu: Right-click the
OtherMenukey > New > String Value. Name this valueSubCommands(this tells Windows to treat this as a menu that expands to show more items).
Step 3: Move your custom entries to the cascading menu
- For each custom entry you want to move:
- Right-click the entry’s key (e.g.,
MyCustomScreenshotTool) > Cut. - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell, right-click theshellkey here > Paste. This moves the entry to a central store for menu commands. - Note down the exact name of this key (e.g.,
MyCustomScreenshotTool)—you’ll need it for the next step.
- Right-click the entry’s key (e.g.,
- Go back to your
OtherMenukey (under*\shellor your specific file type’sshellkey). Double-click theSubCommandsvalue you created earlier. - Set the data to the names of the keys you moved, separated by semicolons. For example:
MyCustomScreenshotTool;PDFConverterTool
Step 4: Test it out
Close Registry Editor, then right-click any file (or the specific file type you targeted). You should see an "Other" option—hover over it, and your custom menu items will expand in a neat submenu.
Optional: Hide leftover entries
If you accidentally left copies of the custom entries in the original shell key, you can hide them instead of deleting (in case you want to revert later):
- For the leftover entry key, right-click > New > String Value. Name it
Extended(don’t set any data—just create it). Now this entry will only appear when you hold Shift while right-clicking.
A few important notes
- Always back up the Registry keys you modify before making changes (right-click the key > Export) to avoid accidental issues.
- Some apps might re-add their entries to the main right-click menu after updates, so you might need to repeat the move step occasionally.
- If you want the "Other" menu to only appear for specific file types, target the
HKEY_CLASSES_ROOT\YourFileType\shellkey instead of*\shell.
内容的提问来源于stack exchange,提问作者Clarice Bouwer

