+1 for Jeb's solution... I did not realize you could use the more command to skip lines like that!
Here is an alternate method that I use for getting a specific line from a file (or from the multi-line output of another program):
@echo off
for /f "tokens=1* delims=:" %%a in ('findstr /n .* "C:\SomeFile.txt"') do (
if "%%a" equ "%1" echo.%%b
)
I use findstr /n .* "Path\FileName.ext" to add line numbers, and to ensure no empty lines are skipped by the for loop.
I then set "tokens=1* delims=:" to separate the line numbers from the line content.
Finally, I compare the current line number (%%a) with the line specified by the %1 parameter, and echo the line contents (%%b) on a match.