0
I have seen the Q&As on batch file naming but don't seem to find an answer to my problem.
I want to rename a number of email files which I have copied to a windows (using windows 7) folder on my desktop and want to change the files names to:
DDMMYYYY_xxx.xxxxx.xxxxx_file name
The day month and year will be the date of transmission or receipt of the email. But when copying emails to a windows folder the date modified is the date of copying.
Any thoughts?
Thanks.
What is the format of these files? Are they plain text? – DavidPostill – 2016-06-03T13:33:15.143
the files are windows Outlook 2007 files which I drag from outlook into a windows folder to store. The files will be plain/html and will have attachments being saved as emails. – puzzled – 2016-06-03T16:33:57.530
1Can you share an example? Edit to remove confidential information. – DavidPostill – 2016-06-03T16:36:39.607
Are they all in the same directory or directories under a top level directory? Do they share a common extension? It should be really easy to do this in powershell. – Junkiebev – 2016-06-04T00:01:12.550
I want to drag emails from outlook into a windows folder and annotate the beginning of the resulting file name, normally the subject line of the email, with DDMMYYYY_xxx.xxxxx.xxxxx_'file name'.
Eg: Have 15 emails discussing various things but relate to a main theme. Copy them all to a windows directory and rather than go through and name each email with the date received or sent and a reference number (xxx.xxxxx.xxxxx) I am trying to find a way of doing this in one move. I have looked at the program 'file Renamer' but it does not allow me to enter any free text for the reference number. – puzzled – 2016-06-06T11:53:13.873