XXX XXX - 8 months ago 34
Bash Question

Executing shell commands programmatically

I want to execute this shell commands by program. How can I do it?

cd C:\android-sdk\platform-tools
adb shell
mount -t rfs -o remount,rw /dev/block/stl9 /system
cp /sdcard/MyApp.apk /system/app/MyApp.apk


You Should write the exact syntax you used here in a .bat file, and then just execute it.