i wanted to extract a nth line from a file using batch scripts.
for /f "tokens=* delims=eol" %%I in (123.txt) do (
set /a LINES+=1
IF LINES==6 (
echo %%I >> value1.txt
i tried this but thi sis not working. could anyone suggest a way to hav eit done.