icsbudapest
asked on
Batch rename Word (.doc) files based on first line of text
I have recently recovered a large amount of "lost" data from a drive, but was unable to recover the files with their proper names. (The recovery software just named them 0000A0A0.DOC, 0000A0A1.DOC, 0000A0A3.DOC...)
There are over a thousand documents, so I would like to rename the file with text extracted from the document itself. I was thinking, from the first line of text. This would making sorting much easier.
Does anyone know if this is possible with a batch file or something?
There are over a thousand documents, so I would like to rename the file with text extracted from the document itself. I was thinking, from the first line of text. This would making sorting much easier.
Does anyone know if this is possible with a batch file or something?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The script seemed to work well. Thank you. Just what I needed. (It may take all day to run it, but will be a time saver in the long run.)
http://gregmaxey.mvps.org/Batch_Rename_Files.htm
Also....you'd have to modify this one as well
http://support.microsoft.c