patrickju 当前离线
列兵
评分人数
@echo off :loop set /p acc="請輸入戶口號碼 : " cls echo. for /f "tokens=1-5" %%a in (b.txt) do ( if "%%b" == "%acc%" (echo,%%a%%b %%c echo ---------------------------------- echo,%%d %%e) ) goto :loop复制代码
TOP
DAIC 当前离线
中将
@echo off set "str=" set /p "str=Please input:" for /f "tokens=1-5" %%i in ('findstr /c:"%str%" 1.txt') do ( echo %%i %%j %%k echo %%l echo %%m ) pause复制代码