右鍵添加複製路徑選項shell
周銀輝spa
效果:code
註冊表導入(保存爲xxx.reg, 雙擊導入):blog
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\copypath] @="copy path of dir" [HKEY_CLASSES_ROOT\Directory\shell\copypath\command] @="mshta vbscript:clipboarddata.setdata(\"text\",\"%1\")(close)" [HKEY_CLASSES_ROOT\*\shell\copypath] @="copy path of file" [HKEY_CLASSES_ROOT\*\shell\copypath\command] @="mshta vbscript:clipboarddata.setdata(\"text\",\"%1\")(close)"