I am looking for a batch file that will concatenate log files by date and put the resulting file in a new directory, date-format file name.
I have individual directories for several web server log files, and need to concatenate each file in each directory by date and put the new resulting file in a new directory, retaining the date format.
So, for example:
In Directory1, file ex031119.log needs to be concatenated with file ex031119.log from Directory2, Directory3, and Directory4.
File format is: "exYYMMDD.log" (example: ex031119.log)
I thougt I had a solution, but can't get it to work right.