Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Hi,

I need to delete a files which is not used long time back from particular folder.
I want to delete files which is 5 days old.
Please help me out to write a batch file (.bat)

Thanks in advance.
Posted

1 solution

There are a few examples in here

http://stackoverflow.com/questions/51054/batch-file-to-delete-files-older-than-n-days[^]

If you Google, there are 1000's of examples
 
Share this answer
 
Comments
Nish Nishant 13-Jul-10 11:12am    
Reason for my vote of 5
Worth 5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900