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

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

下载地址:
http://www.autodebug.com/download.php

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再点击右键,有“复制为路径”的选项,也能完成此功能。

相关的参考网址:
http://www.codeproject.com/KB/shell/copypathext.aspx
http://www.gnostice.com/nl_article.asp?id=168&t=Copy_File_Path_and_Name_using_Windows_Explorer_Context_Menu_Extensions

你可能感兴趣的:(职场,休闲)