How to delete a file depending on date Tags: File System Microsoft Windows Last response: July 8, 2004 11:43 AM in Windows 2000/NT Share tomas July 8, 2004 3:25:01 AM Archived from groups: microsoft.public.win2000.file_system (More info?) Hi I would like to delete files that has a date older than a month. Is there anyone who know any toll or script that can do that? More about : delete file depending date Anonymous July 8, 2004 11:43:46 AM Archived from groups: microsoft.public.win2000.file_system (More info?) On Wed, 7 Jul 2004 23:25:01 -0700, "Tomas" <Tomas@discussions.microsoft.com> wrote in microsoft.public.win2000.file_system: >I would like to delete files that has a date older than a month. >Is there anyone who know any toll or script that can do that? Here's how I delete files older than 30 days, using 4NT: DEL /[d-30,1980/1/1] I use this regularly to delete old log files and such. 4NT's date ranges are documented at <http://jpsoft.com/help/dateranges.htm> If you really want to delete files older than exactly one month, ask again - it will require a slightly more elaborate solution. But I suspect "older than 30 days" might suffice. -- Michael Bednarek http://mbednarek.com/ "POST NO BILLS" Can't find your answer ? Ask ! Publish Related resources How can I restore an excel document to an earlier date as it looks like the file was saved in error with a lot of the informat Forum SolvedHow to delete write protected media file from pen drive Forum How do I delete every file on my hard drive? Forum how to delete a single house in the sims one? I don´t know which file belonges to which house. Forum SolvedHow to delete files from a write protected USB Forum SolvedGTX 780 Idle Temp Of 55-69C Depending on how hot room is Forum Solvedhow to restore memory to a flashdrive? or properly delete files from flashdrive? Forum how to delete correpted file on memory card Forum How to delete this file Install7c4a8a Forum SolvedHow do I delete Windows and Program Files directories from other HD's in my system? (Not the ones in use) Forum Solvedhow delete files and folders from canvio? Forum How can i delete host file ? Forum SolvedI got a used computer. How do I delete all the previous owner's files? Forum SolvedHow to delete files after a certian amount of time Forum How to delete the undeletable file from micro sd card Forum How to delete file from memory [on my p/c] Forum How to delete corrupted file on SD memory card Forum Solvedhow do i recover excel file which is deleted from my network Forum How to delete bonjour file and fix the network problems? Forum How to delete bonjour file and fix the network problems? Forum More resources !