之前用 win10 的时候用了这个 reg 文件,可以在右键加一个不带引号复制文件路径的菜单,但是在 win11 有两级菜单的情况下这个怎么改到第一级菜单而不是在展开菜单里(不想直接恢复成 win10 的全展菜单,因为还挺喜欢 win11 的简洁版的,就希望把常用的加到第一级默认菜单列表)还有想把 open with vscode 也加到首级菜单,custom context menu 好像只能加到打开方式的次级菜单里 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Allfilesystemobjects\shell\copypath] @="Copy as Path" "Icon"="imageres.dll,-5302" [HKEY_CLASSES_ROOT\Allfilesystemobjects\shell\copypath\command] @="mshta Vbscript:clipboarddata.setdata("text","%1")(close)"
