Hi
I have a tedious task each month of creating a text file made up from data of other text files with the first and last line of each text file removed.
What method exists to iterate through each of the text files in a directory, remove the first and last row in each file then against each remaining row add a number and append whats in between to the new file. That way I end up with one file with all the relevant data.
Your help would be very much appreciated.
regards
Peter
I have a tedious task each month of creating a text file made up from data of other text files with the first and last line of each text file removed.
What method exists to iterate through each of the text files in a directory, remove the first and last row in each file then against each remaining row add a number and append whats in between to the new file. That way I end up with one file with all the relevant data.
Your help would be very much appreciated.
regards
Peter
Last edited: