I name all of my home video files according to an exact protocol. An example is: Aug 09,2005@13.21.12.mp4
Typically, the original file is not an mp4 so I go through the process of converting, which changes the Date Created property. Although I can go in and change each one individually, I would like to use a batch file, either via a CMD prompt or powershell that extracts the date and time implied in the file name and changes the Date Created property. I currently do this in two steps.
- The CMD script here https://stackoverflow.com/questions/9946293/batch-set-date-time-attribute-according-to-the-names-of-the-files-in-a-folder only seems to change the Date Modified.
- I use PowerShell to set the Date Created = to the Date Modified. I would like to get rid of one of these steps. All help greatly appreciated.
No comments:
Post a Comment