Link to home
Start Free TrialLog in
Avatar of Rupert Eghardt
Rupert EghardtFlag for South Africa

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?
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rupert Eghardt

ASKER

The problem is that we need files copied from a backup create/modified after the 1st of June.
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.