On Windows, I can run two commands using a .bat file. How can I achieve the same thing on Android
For example:
update my podcasts by calling pcastclient /updateALL
force sync of my pictures sugarsync /forceupdate
Android's shell will support a limited amount of Unix-style shell scripting. It specifically should have a shell at /system/bin/sh
that you can use, however:
If you want a bit of a GUI you may want to look at something like GScript.
There are a few Android apps that are able to control other Android apps, and can chain several commands together using their GUI in a similar way to a script, they both have plugins to extend their support to many popular Android apps and functions.
Tasker and Locale are probably the most famous of these (see here for some comparison) but there are also other similar (free) apps that you could look at.