【Win】注册表

入口

win+r 键入 regedit

官方文档

https://developer.microsoft.com/en-us/microsoft-store/register/

较详细的教程

https://www.cnblogs.com/kstsixeam/p/15251377.html

http://www.taodudu.cc/news/show-4273100.html?action=onClick

鼠标右键路径

右键背景

HKEY_CLASSES_ROOT\Directory\Background\shell\

右键文件夹

(无用)HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\

HKEY_CLASSES_ROOT\Directory\shell\

右键文件

(无用)HKEY_CLASSES_ROOT*\shellex\ContextMenuHandlers\

HKEY_CLASSES_ROOT*\shell\

右键背景用的比较多,着重讲解

在HKEY_CLASSES_ROOT\Directory\Background\shell\下创建一个项,就能出现在右键点击背景的菜单中

比如创建了一个Customize

在Customize中添加字符串SubCommands就能显示二级菜单了

在Customize下创建shell项,将想要显示的二级菜单创建在shell中

权限文件

右键——权限——高级——对应账户设置为完全控制

MUIVerb 右键时展示的文字
Icon 文字描述前方的图标
SubCommands 是否为多级菜单
Extended 按下shift时才显示
Position top顶部
%V 当前目录路径
%1 当前选中文件路径