下面的内容保存到一个新建的reg文件中, 然后执行, 右键菜单就有了
Windows Registry Editor Version 5.00
;文件
[HKEY_CLASSES_ROOT*shellcopypath]
@="Copy File Path"
[HKEY_CLASSES_ROOT*shellcopypathcommand]
@="mshta vbscript:clipboarddata.setdata("text","%1")(close)"
;文件夹
[HKEY_CLASSES_ROOTDirectoryshellcopypath]
@="Copy Path"
[HKEY_CLASSES_ROOTDirectoryshellcopypathcommand]
@="mshta vbscript:clipboarddata.setdata("text","%1")(close)"