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.

PS: If @Gigadroid would put this up on github, more expansion and contribution is expected.
Samsung Relay 4G SGH-T699
ROM: CyanogenMod 10.2
Kernel: 3.4.66-cyanogenmod-g7fcdbcf
Recovery: CWM-based Recovery v6.0.4.4

My Tools:
Please press the thanks button or buy me something from my wishlist, if you liked my work. Alternatively you can also buy me an ebay Gift Card or send me bitcoins.