CODE: [Copy to clipboard]@echo off for /f "tokens=1* delims=:" %%a in ('findstr /n .* a.txt') do ( echo 行数^=%%a, 内容^=%%b ) pause