Hi,
The forfiles.exe works with the last modified dates, not the creation dates. To get the files created more than 90 days ago you can try the powershell command
Get-ChildItem -Path "C:\Folder" -File | Where-Object {$_.CreationTime -lt (Get-Date).AddDays(-90)}
Best Regards,
Ian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.