Batch Delete a line in a text file?

March 27, 2011 at 10:24:59
Specs: Windows 7
I'm pulling my hair out finding a simple example of a DOS batch file that will delete the first line of several thousand txt files and save the file with the original file name. Following a batch process performed by another program, I then have to ADD the deleted line ( a text string consisting of "X,Y,Z") at the beginning of each file following the external processing.

See More: Batch Delete a line in a text file?

Report •

March 29, 2011 at 14:11:12
More info required.
(a) are all files in the same partition/path?
(b) do all files have the same extension (if not, show extensions)?
(c) do filenames contain spaces?
(d) although you use the term several thousand txt files are they .CSV files?


Did you Google for an answer before asking the question?

Report •
Related Solutions

Ask Question