Hello Experts -
I'm looking for a Batch - Dos - File Rename script that will do the following:
1) FIND files in a specified directory that start with the two numbers 00
2) OPEN the file and locate the report title - which is located on the first line - starting at col 43 to col 60. (This contains the name of the report.) Rename the file - with the name of the report found in col 43 through 60.
So for example - I have a TEST directory that contain several file that are named as follows: 005585.txt, 006522.txt, 001244.txt
Once I execute the batch dos batch file - each file will be renamed according to the report name that is contained within the file - ACH Transactions.txt, ATM Time RPT.txt Draft Overdrawn RPT.txt
Thank you for your assistance. ~k