Rupert Eghardt
asked on
Change File Modified Date to be the Same as the Creation Date
Hi Guys,
I am trying to copy files from a folder - based on creation date to another destination.
I tried RoboCopy, but it uses the modified date, which in some instances doesn't work.
Is there perhaps a PowerShell command to change the modified date to be the same as the creation date for multiple selected files?
I am trying to copy files from a folder - based on creation date to another destination.
I tried RoboCopy, but it uses the modified date, which in some instances doesn't work.
Is there perhaps a PowerShell command to change the modified date to be the same as the creation date for multiple selected files?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Some files were modified back in 2008, but was copied to the server after the 1st of June this year.
The modified date of these copied files shows 2008, but the create date shows July 2019.
Thus copying files based on the modified date omits these files, which should actually be included in the copy process.