右键菜单中增加“copy path”菜单

简介:
在右键菜单中增加“copy path”菜单,便于复制选中文件的路径。

下载地址:

Install:

1, Copy copypath.dll to c:\windows\system32\
2, Run regsvr32.exe  copypath.dll

如果是vista,需要以管理员身份运行命令行,然后执行
regsvr32.exe  copypath.dll

否则会出现错误,参见:

regsvr32 on Vista

Question:
We tried to register the .dll file on a 32 bit Vista machine and got the following error message:
"The module "ChilkatMail2.dll" was loaded but the call
to DllRegisterServer failed with error code 0×80020009″
Answer:
Try running regsvr32 as the administrator. Create a .bat file and insert the regsvr32 command to register the DLL. Then right-click on the .bat and select "Run as administrator".

Features:
     Copy file or folder path name to clipboard.
     When you select "C:\Documents and Settings\Administrator" path in explorer.exe, 
     select "Copy File Path" in context menu, you will get these results.
     
     - Copy 32bit Filename
       Copy "C:\Documents and Settings\Administrator" to clipboard.
      
     - Copy 16bit Filename
       Copy "C:\DOCUME~1\ADMINI~1" to clpboard.
     
     - Copy 32bit URL
       Copy "file://C:/Documents and Settings/Administrator" to clipboard.
     
     - Copy 16bit URL
       Copy "file://C:/DOCUME~1/ADMINI~1" to clipboard.
     
     - Copy 32bit \\ Filename
       Copy "C:\\Documents and Settings\\Administrator" to clipboard. It's very usefully 
       feature for programmer who use c&c++.
     
     - Copy 16bit \\ Filename
       Copy "C:\\DOCUME~1\\ADMINI~1" to clipboard.

注:在vista下,按住shift再点击右键,有“复制为路径”的选项,也能完成此功能。













本文转sinojelly51CTO博客,原文链接:http://blog.51cto.com/sinojelly/223300 ,如需转载请自行联系原作者
相关文章
|
1月前
|
Android开发
Settings中动态插入菜单
Settings中动态插入菜单
13 0
|
8月前
怎样将Beyond Compare添加到系统右键菜单
怎样将Beyond Compare添加到系统右键菜单
901 0
|
10月前
|
API
ant.design Table组件点击一个选项框却把所有选项都选中了
ant.design Table组件点击一个选项框却把所有选项都选中了
105 0
ant.design Table组件点击一个选项框却把所有选项都选中了
|
10月前
Win11 右键菜单 样式 模式修改
创建文本文件 复制代码 修改后缀 .bar 双击运行
131 0
|
C++
C/C++ Qt ListWidget 增加右键菜单
在上一篇博文`《C/C++ Qt ListWidget 列表框组件应用》`中介绍了ListWidget组件的基本使用技巧,本次将给ListWidget组件增加一个右键菜单,当用户在ListWidget组件中的任意一个子项下右键,我们让其弹出这个菜单,并根据选择提供不同的功能。
236 0
C/C++ Qt ListWidget 增加右键菜单
Edit空间编辑完成
Edit空间编辑完成
48 0