In bash, I can write this:
But I have a similar windows batch file, and currently it does this:
ant debug adb install -r bin/Rocher-debug.apk
So, if "ant debug" fails, it will still run "adb install", and that is not ideal. Do any of you guys know how to do && equivalently in this situation?
I really need to sit down and learn windows scripting correctly soon, since in a few months I will be making a lot of windows. But for now the quick answer will be awesome :-)
source share