• 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"

     

  • 相关阅读:
    java面向对象之封装
    摘抄java基础
    gojs 去除水印个人总结的方法 实例为2.1版本
    引入CSS的方式,link与@import的区别
    Java 处理json字符串value中多余的双引号
    《Linux 学习》01---redis安装, 并使用Redis Desktop Manager 连接
    (二、下) springBoot 、maven 、mysql、 mybatis、 通用Mapper、lombok 简单搭建例子 《附项目源码》
    (一 、上)搭建简单的SpringBoot + java + maven + mysql + Mybatis+通用Mapper 《附项目源码》
    springBoot 官方整合的redis 使用教程:(StringRedisTemplate 方式存储 Object类型value)
    sudo命令: 在其他用户下操作root用户权限
  • 原文地址:https://www.cnblogs.com/mahocon/p/12356023.html
Copyright © 2020-2023  润新知