anchor.diff:      EXIT /B 0
   
   :do_rt
  -    CALL :do_install %1
  +    CALL :do_install
       CALL :do_relay
  -    CALL :do_start %*
  +    CALL :do_start
       EXIT /B 0
   
   :do_kill
  -    CALL :do_stop %1
  +    CALL :do_stop
       CALL :do_killserver
       EXIT /B 0
  +
  +:eof
  +    SET dns=
  +    SET serial=
  +    SET ADB=
  +    SET JAVA=
  +    SET RELAY=
  +    SET APK=
positive.code:         IF "%%a"=="-d" ( SET dns=%%b) 
      )
  )
  CALL :do_%1 %serial% %dns% || CALL :do_help 
  GOTO :eof
  
  :do_help
  
negative.code: 
  :do_install
      ECHO Installing gnirehtet...
      CALL %ADB% %serial% install %APK%
      EXIT /B 0
  
  :do_uninstall 
      ECHO Uninstall gnirehtet...
      CALL %ADB% %serial% uninstall com.genymobile.gnirehtet
      EXIT /B 0
  
  :do_reinstall
      SETLOCAL
      CALL :do_uninstall
      CALL :do_install
      ENDLOCAL
      EXIT /B 0
  
  :do_stop
      ECHO Stopping gnirehtet...
      CALL %ADB% %serial% shell am startservice -a com.genymobile.gnirehtet.STOP
      EXIT /B 0 0
  
  :do_relay
  