Search found 1 match

by KD22
14 Nov 2014 15:19
Forum: DOS Batch Forum
Topic: Removing second last line from multiple text files
Replies: 14
Views: 9904

Removing second last line from multiple text files

I have multiple .TXT files where the second last line is a summary of observations (ie. (452,246) ). While searching through forums, I have come upon this code: @echo off setlocal disableDelayedExpansion set file="test.txt" for /f %%N in ('find /c /v "" ^<%file%') do set skip=%%N...