天天看點

adb指令添加到滑鼠右鍵

平時用adb指令比較多,參考cmder把adb的指令也加到滑鼠右鍵,cmder是REGISTER ALL,不清楚具體注冊了哪些,直接在系統資料庫裡面搜cmder,對應的位置也添加

把如下代碼copy到一個registeradb.reg,直接運作就可以添加了

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\adb_logcat]
@="adb_logcat"
[HKEY_CLASSES_ROOT\*\shell\adb_logcat\command]
@="\"F:\\pixel\\ams_debug\\getLog.bat\" \"%1\""

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\adb_logcat]
@="adb_logcat"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\adb_logcat\command]
@="\"F:\\pixel\\ams_debug\\getLog.bat\" \"%1\""

[HKEY_CLASSES_ROOT\Folder\Shell\adb_logcat]
@="adb_logcat"
[HKEY_CLASSES_ROOT\Folder\Shell\adb_logcat\command]
@="\"F:\\pixel\\ams_debug\\getLog.bat\" \"%1\""

[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\adb_logcat]
@="adb_logcat"
[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\adb_logcat\command]
@="\"F:\\pixel\\ams_debug\\getLog.bat\" \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\adb_logcat]
@="adb_logcat"
[HKEY_CLASSES_ROOT\Directory\shell\adb_logcat\command]
@="\"F:\\pixel\\ams_debug\\getLog.bat\" \"%1\""

[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\adb_logcat]
@="adb_logcat"
[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\adb_logcat\command]
@="\"F:\\pixel\\ams_debug\\getLog.bat\" \"%1\""
           

效果如下,可以在任意位置打開,如桌面、檔案夾、檔案等:

在桌面點選空白處

adb指令添加到滑鼠右鍵

在檔案夾裡面點選空白處

adb指令添加到滑鼠右鍵

繼續閱讀