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 SolvedHow to keep the original date and time of a file when copying? Forum SolvedHow 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 do I delete every file on my hard drive? Forum SolvedWindows 8.1 - Corrupt Files, How do I Remove/Delete? Forum SolvedHow to delete write protected media file from pen 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 Solvedhow do I delete old win 7 backup files .. if control panel - manage backup space does not "see" them 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 this file Install7c4a8a Forum How can i delete host file ? 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 do i selectively permanantly delete or remote files from my western digital my passport? Forum microsoft virtual drive is full. How do I delete some files? 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 files from a Passport external HD using Mac Forum How to delete file from memory [on my p/c] Forum More resources !