Search found 1 match
- 28 May 2008 09:20
- Forum: DOS Batch Forum
- Topic: script to rename file based on a string in the first line
- Replies: 1
- Views: 6341
script to rename file based on a string in the first line
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...