Put all the commands you want to run at once in an external file, one per line, then run:
adb shell < commands.txt
More Related Contents:
- ‘adb’ is not recognized as an internal or external command, operable program or batch file
- How to use ADB Shell when Multiple Devices are connected? Fails with “error: more than one device and emulator”
- What’s the Android ADB shell “dumpsys” tool and what are its benefits?
- Understanding command through adb shell and through code – Android
- Why do I get a “sqlite3: not found” error on a rooted Nexus One when I try to open a database using the adb shell?
- Where to find info on Android’s “service call” shell command?
- adb remount permission denied, but able to access super user in shell — android
- How to turn off Wifi via ADB?
- batch scripting – if exist ./sdcard/file.any using adb
- Copying files in ADB shell with run-as
- Android ADB commands to get the device properties
- Launch a script as root through ADB
- How to measure time from adb shell with milliseconds resolution?
- adb shell su works but adb root does not
- How to start an application using Android ADB tools
- ADB Shell Input Events
- How to simulate a touch event in Android?
- How to make Android’s aapt and adb work on 64-bit Ubuntu without ia32-libs (works for versions 12, 13 and 14)
- Android ADB device offline, can’t issue commands
- Is it possible to execute adb commands through my android app?
- ADB No Devices Found
- Connecting to WiFi using adb shell
- adb server is out of date. killing [duplicate]
- Android adb not found
- React Native adb reverse ENOENT
- adb connection by wifi getting killed when a new USB attached/detached
- Android: adb: Permission Denied
- Adb install failure: INSTALL_CANCELED_BY_USER
- ADB not responding. You can wait more,or kill “adb.exe” process manually and click ‘Restart’
- sqlite3: not found