Search found 2 matches

by Hangkadim
16 Apr 2009 00:33
Forum: DOS Batch Forum
Topic: Rename File Name based on the contents of the file
Replies: 2
Views: 5477

Thank you sir, its work great.
by Hangkadim
14 Apr 2009 02:25
Forum: DOS Batch Forum
Topic: Rename File Name based on the contents of the file
Replies: 2
Views: 5477

Rename File Name based on the contents of the file

Hi All, Been looking around still unable to figure out how to do this. How do I rename a file based on the contents of the file, Example File1.txt contains this value 'ABC123,07072006,BCA,128-99' the file need to be rename based on the first 6 characters of the value ie ABC123.txt. Thanks in advance.