I need to write a batch file that will rename a file based on a string in the first line of the file (a header).
The routine will need to move to a certain position in the first line and read in the next, say 12 positions, into a variable, then name the file based on the string value that was passed to the variable.
script to rename file based on a string in the first line
Moderator: DosItHelp