rename a text file with content

October 27, 2010 at 04:36:07
Specs: Windows 7
Hi, I need to rename hundreds of txt files with some of their content.
They are sms backups, and the first 2 lines look like this:

Contact: 095354218
Date: 22/10/2010 11:51 p.m.

I need to extract the "date" info inside each file (it starts from the 8th character of the 2nd line), and use it to rename them, like this:

Can anyone help me?

See More: rename a text file with content

Report •

October 27, 2010 at 04:47:16
It looks just like it starts in the 7th col.

But maybe the forum squeezed out one space.

Life is too important to be taken seriously.


Report •
Related Solutions

Ask Question