Home> Common Problem> body text

Add custom context menu items to the File Explorer menu in Windows 11

WBOY
Release: 2023-04-25 18:19:23
forward
1489 people have browsed it

Microsoft has changed the context menu in File Explorer when launching the Windows 11 operating system. File Explorer has two context menus in Windows 11: The new compact menu opens first when the user right-clicks a file or folder in File Manager.

将自定义上下文菜单项添加到 Windows 11 的文件资源管理器菜单

The classic context menu can be opened from this new menu or using a shortcut. There is also an option to restore the classic context menu in File Explorer in Windows 11 so that it opens by default.

Programs can add their entries to the new context menu, but they need to have the correct programming to do so.

Windows 11 users can add their custom entries to the File Explorer context menu in Windows 11 using Windows Application Customization Context Menu. Open source programs are available as Microsoft Store apps or on GitHub.

Open source applications are easy to use, but still require some explanation. You can use this to create as many root entries as you want in the File Explorer context menu. Programs and scripts can then be added to these. You can add one entry for media, another for programming files, and a third for image and photo editing tasks.

Each entry has the following configuration options:

  • Title - The name that appears in File Explorer.
  • Order -- The order of items in the menu.
  • Exe -- The path to the executable file.
  • Param——Execution parameter.
  • Icon - program icon.
  • Match Folder - Select and execute on the folder.
  • Match files - all file extensions supported by this project. Multiple entries can be added by separating them with a space character, for example .png .jpg.
  • Multiple files - supports running the project when multiple files are selected.

A context menu root entry is set by default. Clicking the Settings icon displays the options to change the name of the root entry and create a new root entry. Changes need to be saved before they are available.

将自定义上下文菜单项添加到 Windows 11 的文件资源管理器菜单Needs to restart the explorer.exe process, reboot the system, or log out and back in for the changes to appear. Data is stored in JSON files.

The above is the detailed content of Add custom context menu items to the File Explorer menu in Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!