The commonly used scenes of bat batch scripts under Windows are sorted out and are being updated continuously. . .
Reference link:
BAT batch script tutorial (5)_bat take the remainder_whorus1's blog-CSDN blog
Bat batch script Daquan
Bat batch script Daquan_bat script_luffy5459's blog-CSDN blog
1. Use bat script under Winodws to filter the results
For example: in the filtered results, filter whether there is a "$G" field
adb shell "tail -n 10 xxx.log" | findstr /r "$G"
2. How to judge that the parameters contain certain strings in bat batch processing under Winodws
Example 1: In the filtered results, determine whether there is "