qixiaobin0715 当前离线
大校
@echo off for /f "tokens=1* delims=:" %%i in ('findstr /n .* 1.txt^|findstr /b "20:"') do echo,%%j pause复制代码
TOP
@echo off for /f "tokens=1* delims=:" %%a in ('findstr /n .* 1.txt^|findstr /b "5: 20: 101:"') do ( echo,%%b ) pause复制代码
findstr /c:"ab c" /c:"ab e" /c:"ab f" 1.txt复制代码