• Win7 系统在右键菜单中添加复制路径


    Windows10中,按住shift右键单击某个文件,右键菜单里会出现“复制为路径”选项,但遗憾的是win7貌似没这个功能。

    导入下列注册表项,可在W7加入该功能。

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOTAllFilesystemObjectsshellwindows.copyaspath]
    "CanonicalName"="{707C7BC6-685A-4A4D-A275-3966A5A3EFAA}"
    "CommandStateHandler"="{3B1599F9-E00A-4BBF-AD3E-B3F99FA87779}"
    "CommandStateSync"=""
    "Description"="@shell32.dll,-30336"
    "Icon"="shell32.dll,-133"
    "InvokeCommandOnSelection"=dword:00000001
    "MUIVerb"="@shell32.dll,-30329"
    "VerbHandler"="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}"
    "VerbName"="copyaspath"
    "Extended"="1"

    =====================或者=============================

     

    Windows Registry Editor Version 5.00

     

    [HKEY_CLASSES_ROOTCLSID{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}]
    @="Copy as Path Menu"
    "ContextMenuOptIn"=""

     

    [HKEY_CLASSES_ROOTAllFilesystemObjectsshellexContextMenuHandlersCopyAsPathMenu]
    @="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}"

     

    [HKEY_CLASSES_ROOTCLSID{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}InProcServer32]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,
    00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,
    65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
    "ThreadingModel"="Apartment"

     

    [HKEY_CLASSES_ROOTWow6432NodeCLSID{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}]
    @="Copy as Path Menu"
    "ContextMenuOptIn"=""

     

    [HKEY_CLASSES_ROOTWow6432NodeCLSID{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}InProcServer32]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,
    00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,
    65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
    "ThreadingModel"="Apartment"

     

    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellWindows.copyaspath]
    "VerbName"="copyaspath"
    "CommandStateSync"=""
    "InvokeCommandOnSelection"=dword:00000001
    "MUIVerb"="@shell32.dll,-30329"
    "VerbHandler"="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}"
    "Description"="@shell32.dll,-30336"
    "CanonicalName"="{707C7BC6-685A-4A4D-A275-3966A5A3EFAA}"
    "CommandStateHandler"="{3B1599F9-E00A-4BBF-AD3E-B3F99FA87779}"
    "Icon"="imageres.dll,-5302"

     

    [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionExplorerCommandStoreshellWindows.copyaspath]
    "VerbName"="copyaspath"
    "CommandStateSync"=""
    "InvokeCommandOnSelection"=dword:00000001
    "MUIVerb"="@shell32.dll,-30329"
    "VerbHandler"="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}"
    "Description"="@shell32.dll,-30336"
    "CanonicalName"="{707C7BC6-685A-4A4D-A275-3966A5A3EFAA}"
    "CommandStateHandler"="{3B1599F9-E00A-4BBF-AD3E-B3F99FA87779}"
    "Icon"="imageres.dll,-5302"

     

  • 相关阅读:
    avalon做的抽奖效果
    [转]谈谈前端渲染 VS 后端渲染
    迷你MVVM框架 avalonjs 1.3.7发布
    迷你MVVM框架 avalonjs 学习教程22、avalon性能大揭密
    Facebook React 和 Web Components(Polymer)对比优势和劣势
    迷你MVVM框架 avalonjs 学习教程21、双向绑定链
    迷你MVVM框架 avalonjs 学习教程20、路由系统
    html中的数据岛:利用DSO和javascript在html中动态加载和浏览xml数据
    使用JS的 FileReader 读取本地文本文件(可兼容各种浏览器)
    简易版jquery
  • 原文地址:https://www.cnblogs.com/mahocon/p/12356023.html
Copyright © 2020-2023  润新知