一个a.txt里有三行字符
@echo off
for /f "tokens=1,2,3 delims=" %%i in (a.txt) do (
set a=%%i
set b=%%j
set c=%%k)
echo %a%
echo %b%
echo %c%
pause
Exit
@echo off
for /f "tokens=1,2,3 delims=" %%i in (a.txt) do (
set a=%%i
set b=%%j
set c=%%k)
echo %a%
echo %b%
echo %c%
pause
Exit