@echo off
setlocal EnableDelayedExpansion
setlocal EnableExtensions
set CheckFile=c:\temp\EE24995929.txt
set Line=-1
for /f "tokens=1 delims= " %%A in ('type "%CheckFile%"') do (
if "%%A"=="Retail | " (
set Line=0
)
if not !Line! == -1 (
set /a Line+=1
if !Line!==3 (
echo %%A
)
)
)
|