All pastes #731536 Raw Edit

Untitled

public text v1 · immutable
·published 2007-10-10 03:58 UTC
rendered paste body
@echo off
setlocal
set counter=0
for /f "tokens=*" %%a in (filename.txt) do call :DOIT %%a
goto :eof

:DOIT
set /a counter=%counter% + 1
if {%counter%}==5 then echo %1