@echo "情天无奈今生薄,绿酒酩酊一日醉。"
@echo "================================"
@echo "********@mengtianwxs**********"
@echo "================================"
@echo 1 192.168.0.101
@echo 2 192.168.0.102
@set /p mt=请输入以上数字以选择对应的IP地址
@if %mt%==1 goto one
@if %mt%==2 goto two
@:one
@adb connect 192.168.0.101
@goto end
@:two
@adb connect 192.168.0.102
@goto end
@:end
pause
*备注一下,批处理的名字不能与现有的dos命令或环境变量中的名字重复.不然会无限次重复执行一条命令.
标签:0.102,goto,0.101,批处理,192.168,echo,adbwireless,connect,dos From: https://blog.51cto.com/u_15932543/5994473