無彈窗滑鼠右鍵清理剪下板
阿新 • • 發佈:2018-12-23
環境:windows10hb/windows7Ultimate
問題描述:無彈窗滑鼠右鍵清理剪下板
解決方法:
windows7:
1.在D盤下D:\Program Files\MyShotcuts\”新建內容為:
“Set ws = CreateObject(“Wscript.Shell”)
ws.run “cmd /c @echo off | clip”,vbhide”
的VB指令碼程式,命名為:”cleanClip.vbs”
2.在登錄檔中新建鍵值:
[HKEY_CLASSES_ROOT\Directory\Background\shell\清理剪下板\command]
@=”wscript.exe \”D:\Program Files\MyShotcuts\cleanClip.vbs\”“
windows10:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\清理剪下板]
@=”“
[HKEY_CLASSES_ROOT\Directory\Background\shell\清理剪下板\command]
@=”wscript.exe \”D:\Program Files\MyShotcuts\cleanClip.vbs\””
附件為匯出的登錄檔和批處理檔案:附件地址