Windows copy two files into one file and rename file
Posted on 2014-01-02
On my windows server I have two files, File1.csv and File2.csv. I need to concatenate the two files, or append File2.csv to File1.csv, into a third file, File3.csv; either way, as long as the contents of File1.csv is first in the File3_CURRENTDATE.csv
I will need to have this run via a .bat file that will perform the task once a week. I also need to know how to name the resultant file with the currentdate appended to the name before the .csv suffix. For example
File1.csv File2.csv >> File3_20140102.csv
Thanks so much for any help you can provide.