@echo off
set aa =
set bb =
set cc =
set dd =
set ee =
for /f "念枝橘delims== tokens=1*" %%a in ('type 1.txt ^|findstr /i "a"') do set "aa=%%b"
for /f "delims== tokens=1*" %%a in ('type 1.txt ^|findstr /i "b"') do set "bb=%%b"
for /f "delims== tokens=1*" %%a in ('type 1.txt ^|findstr /i "c"') do set "cc=%%b"
for /f "delims== tokens=1*" %%a in 搭团('type 1.txt ^|findstr /i "d"') do set "dd=%%b"
for /f "delims== 仔团tokens=1*" %%a in ('type 1.txt ^|findstr /i "e"') do set "ee=%%b"
echo %aa%
echo %bb%
echo %cc%
echo %dd%
echo %ee%
pause
试试看