Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: .bat - delete files by creation date  (Read 16795 times)

0 Members and 1 Guest are viewing this topic.

Manbir Singh

  • Guest
.bat - delete files by creation date
« on: April 04, 2004, 06:06:38 PM »
hello....

i need a batch file (.bat) or help on one...
Basically i need something that can delete the file on basis of the date it was created.

I am gonna use it for deleting my logfiles that are a week old.

Any suggestion???

thanks

rosken

  • Guest
Re: .bat - delete files by creation date
« Reply #1 on: May 12, 2004, 04:51:06 AM »
Hi
Until somebody comes up with the answer I create a hold folder then use scheduler to run a batch file that clears out last weeks and moves this weeks in.