右键菜单中增加“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 ,如需转载请自行联系原作者
相关文章
|
3月前
|
Shell
自定义右击菜单,添加指定打开文件方式
自定义右击菜单,添加指定打开文件方式
47 0
|
6月前
|
Android开发
Settings中动态插入菜单
Settings中动态插入菜单
43 0
怎样将Beyond Compare添加到系统右键菜单
怎样将Beyond Compare添加到系统右键菜单
1100 0
|
6月前
win32编程 -- 系统菜单及右键菜单
win32编程 -- 系统菜单及右键菜单
82 1
Win11 右键菜单 样式 模式修改
创建文本文件 复制代码 修改后缀 .bar 双击运行
182 0