Since this uses ADB, if adb.exe is not found, it would not give any error/information to the user, of what is happening. It will just exit to the menu. Thus, I have added some ADB detection in the script here. http://pastebin.com/mFXJ3w36

PS: If @Gigadroid would put this up on github, more expansion and contribution is expected.
SE Xperia Pro (MK16a)
ROM: CyanogenMod 7.2.0 UNOFFICIAL (FXP130)
Bootloader: Unlocked
Kernel: 2.6.32.9 FXP root@ubuntu #5
Recovery: CWM-based Recovery v5.0.2.8
_____________________________________________

My Tools:
Please press the thanks button or buy me something from my wishlist, if you liked my work.