I want to read last two lines of log file, below code is printing all the lines
@echo on setlocal EnableDelayedExpansion for /f "delims=" %%x in (