Search found 1 match
- 11 May 2017 19:58
- Forum: DOS Batch Forum
- Topic: Rename file with a string contained in the file
- Replies: 1
- Views: 2543
Rename file with a string contained in the file
I have a file named 'psgl_extract.txt' that I want renamed with the string within the file. The string AURNTRNA20170509V141 is located in the first row of the file. Please help me with a batch file code ? Both batch file and target file will be in the same directory, d:\abc Extract from file: 00AURN...