Rename File Name based on the contents of the file
Posted: 14 Apr 2009 02:25
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.
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.