zoukankan      html  css  js  c++  java
  • 将设置集成到右键联级菜单

    实现效果:

      

    实现代码:

    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShell]
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettings]
    "Position"="Middle"
    "Icon"="SystemSettingsBroker.exe"
    "SubCommands"=""
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell]
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell1subcmd]
    "Icon"="SystemSettingsBroker.exe"
    "MUIVerb"="Settings"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell1subcmdcommand]
    @="explorer ms-settings:"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell2subcmd]
    "CommandFlags"=dword:00000020
    "MUIVerb"="System"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell2subcmdcommand]
    @="explorer ms-settings:display"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell3subcmd]
    "MUIVerb"="Devices"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell3subcmdcommand]
    @="explorer ms-settings:bluetooth"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell4subcmd]
    "MUIVerb"="Network && Internet"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell4subcmdcommand]
    @="explorer ms-settings:network"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell5subcmd]
    "MUIVerb"="Personalization"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell5subcmdcommand]
    @="explorer ms-settings:personalization"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell6subcmd]
    "MUIVerb"="Apps"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell6subcmdcommand]
    @="explorer ms-settings:appsfeatures"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell7subcmd]
    "MUIVerb"="Accounts"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell7subcmdcommand]
    @="explorer ms-settings:yourinfo"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell8subcmd]
    "MUIVerb"="Time && language"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell8subcmdcommand]
    @="explorer ms-settings:dateandtime"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell9subcmd]
    "MUIVerb"="Gaming"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell9subcmdcommand]
    @="explorer ms-settings:gaming-gamebar"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell10subcmd]
    "MUIVerb"="Ease of Access"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell10subcmdcommand]
    @="explorer ms-settings:easeofaccess-narrator"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell11subcmd]
    "MUIVerb"="Cortana"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell11subcmdcommand]
    @="explorer ms-settings:cortana"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell12subcmd]
    "MUIVerb"="Privacy"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell12subcmdcommand]
    @="explorer ms-settings:privacy"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell13subcmd]
    "MUIVerb"="Update && security"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell13subcmdcommand]
    @="explorer ms-settings:windowsupdate"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell14subcmd]
    "MUIVerb"="Mixed Reality"
    
    [HKEY_CURRENT_USERSoftwareClassesDesktopBackgroundShellSettingsshell14subcmdcommand]
    @="explorer ms-settings:holographic"
    View Code
  • 相关阅读:
    [转] 在安卓设备上使用 Chrome 远程调试功能
    如何在移动设备上调试网页
    [转] 函数式编程初探
    如何简单区分Web前后端与MVC
    [转] 钉钉的H5性能优化方案
    js 数组赋值问题 :值传递还是引用?
    (转载)How browsers work--Behind the scenes of modern web browsers (前端必读)
    [转] React 最佳实践——那些 React 没告诉你但很重要的事
    RAII惯用法详解
    [2] 智能指针
  • 原文地址:https://www.cnblogs.com/feiyucha/p/10895989.html
Copyright © 2011-2022 走看看