|Hi, I am new to batch script and need help. I have below a2.csv file:|
In the batch script need to read the csv file.
In header - need to match if the current date is what's in the HDR row (20090619- today's date) and name of the file is what we are reading from (which is a2).
In trailer - Need to make sure total # of rows match what's in the file. 000000003 (9 char length) is the length of the total # of rows. So is there are 12 rows it would 000000012. If the trailer and header match then need to copy the file to say c:\temp\output.