Skip to content

Instantly share code, notes, and snippets.

View thebagchi's full-sized avatar

Sandeep Bagchi thebagchi

  • Kolkata (India)
View GitHub Profile
@thebagchi
thebagchi / ADBShell+.bat
Created December 14, 2020 18:13 — forked from smelfungus/ADBShell+.bat
Run ADB shell command with options on all connected devices
:: Inpired by Windows version https://gist.github.com/thebagchi/df29ae862fc1c296dec2
:: Which is inspired by Linux version of the same https://gist.github.com/christopherperry/3208109
@echo off
SET ARGUMENTS=%*
if "%ARGUMENTS%" == "" (
GOTO EOF
)
@thebagchi
thebagchi / ADB++.BAT
Last active August 11, 2018 17:27
issue command on selected device without looking up adb devices
@echo off
SET ARGUMENTS=%~1
if "%ARGUMENTS%" == "" (
GOTO EOF
)
SET "ARGUMENTS=%ARGUMENTS:""="%"
SETLOCAL ENABLEDELAYEDEXPANSION
@thebagchi
thebagchi / ADB+.BAT
Last active December 28, 2021 05:29
script for issuing commands to multiple android devices on windows
:: Inspired by Linux version of the same https://gist.github.com/christopherperry/3208109
@echo off
SET ARGUMENTS=%~1
if "%ARGUMENTS%" == "" (
GOTO EOF
)
SET "ARGUMENTS=%ARGUMENTS:""="%"