1: 2: 3: 4: 5:
for /F %%a in (c:\temp\test.txt) do ( echo %%a )
1: 2: 3:
@ECHO OFF FOR /F %%a in ('TYPE C:\TEMP\Test.txt') DO ( ECHO %%a)