ERRORLEVELs in adb push and pull I need to execute adb commands from DOS batch files, but I need to know if the push and pull commands were successful.  Do these commands return an ERRORLEVEL, or some other environment variable to determine of the push or pull was successful?
According to the source code for ADB push and pull commands, they return 0 for success and 1 for failure.  I have not tried this in batch files, so cannot comment on accuracy.