I have about 30-50 text files monthly with all different names located in folder /Balance_Text_Files. I need to rename all these files with part of the first line from within each file. I am not real familiar with batch files if someone could please help me?
Example:
File name QSYSPRT439456.txt
within this file on the first line is:
MX893 PHYSICIAN XYZ 2 1 0 - 1 6 5 4 2 PAGE 1
Each file has a different string after PHYSICIAN XYZ and that is what the file would need to be renamed to.
So, QSYSPRT439456.txt would be renamed 210.16542.txt
Any help would be greatly appreciated, wasting so much time renaming these manually every week.