Is your purpose to not have any files more than 2 days old ?
You could try the Windows utility FORFILES. It has different syntax based on your Windows version. I use it to delete files older than 'X' days.
It only takes 1 line of code and you specify the path and file extension or *.*