aaaaa 11 bbbbb 12 ccccc 13
@echo off for /f "tokens=1-2 delims= " %%i in (a.txt) do ( set /a var=%%j%%3 echo %%i %var% >>a1.txt )