Skip to content

Instantly share code, notes, and snippets.

@reinaldomoreira
Forked from mpost/android-cli.bat
Created December 12, 2017 13:38
Show Gist options
  • Save reinaldomoreira/ec4810927692a5fa4fc5063a955cb8ca to your computer and use it in GitHub Desktop.
Save reinaldomoreira/ec4810927692a5fa4fc5063a955cb8ca 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