wujunkai 当前离线
六级士官
@echo off set "file=a.txt" for /F "tokens=1,2" %%i in ('findstr "姓名" "%file%"') do set "name=%%j" for /F "tokens=1,2" %%i in ('findstr "证件号" "%file%"') do set "id=%%j" echo %id%%name% pause复制代码
TOP