I'm hoping someone can help me out. I've got several hundred files that have certain lines that need to be removed. These are CSV files that have multiple headers. One at the beginning, that I want to keep, but if the file is left in this folder for several days, new data is appended to the file inserting new headers as well. I'm looking to write a batch file that will remove all additional lines after the initial header in all the files in the folder, and possibly move it to a different folder once processed.
Is this possible? Please help me out if you can!
Let me know if you need more input.