Home / Microsoft / Microsoft DOS / .bat - delete files by creation date
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: .bat - delete files by creation date  (Read 4641 times)
Manbir Singh
Guest
« 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
IP logged
rosken
Guest
« 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.
IP logged
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / .bat - delete files by creation date « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.069 seconds with 18 queries.