Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

windows script/batch for deleting files exactly 7 days old

Jun 15, 2011 2:45AM PDT

Hi..I have two folder .X and Y.I want a simple windows script/batch which will
copy only exactly 7 days old files from X folder to Y folder. I am using
XP operating System.Please help.thanks

Discussion is locked

- Collapse -
Clarification Request
copy or delete?
Jun 15, 2011 5:17AM PDT

And will a not simple batch file do?

- Collapse -
Answer
Re: script or batch file
Jun 15, 2011 6:12AM PDT