㈠ bat批量提取文件名及文件內部特定字元串
@echoofffor/r%%iin(*.text)do(>>result.txtecho%%~nifor/f"tokens=1delims=<>"%%jin('type"%%~i"')do(echo%%j|findstr/i/c:".png">nul&&echo%%j>>result.txt))pause