Skip to content

Instantly share code, notes, and snippets.

@mpost
Created July 29, 2016 14:47
Show Gist options
  • Save mpost/0681485f08b6a0d0f5cd1b630aada027 to your computer and use it in GitHub Desktop.
Save mpost/0681485f08b6a0d0f5cd1b630aada027 to your computer and use it in GitHub Desktop.
Register windows context menu entry to adb install apk from explorer
@ECHO OFF
ECHO Running "adb install -r %1"
adb install -r %1
PAUSE
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Android adb install]
@="Android: adb install"
"Icon"="%SystemRoot%\\System32\\shell32.dll,71"
[HKEY_CLASSES_ROOT\*\shell\Android adb install\command]
@="\"C:\\Users\\<username>\\android-cli.bat\" \"%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment