@echo offsetlocal enabledelayedexpansionset n=90000for /f "delims=" %%a in (file.txt) do (set /a n+=1>!n:~1!.txt echo %%a)pause