:one adb reboot ping -n 60 127.0.0.1 > nul goto two
:two adb reboot ping -n 60 127.0.0.1 > nul goto one