corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Is there a way to auto delete files after a certain time?


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Is there a way to auto delete files after a certain time?
Melville
Member

Registered: 4th Jun 03
Location: Newcastle upon Tyne
User status: Offline
31st May 06 at 15:37   View User's Profile U2U Member Reply With Quote

As title really.

Need something that will auto delete files after they become x days old. I dont have a clue about scripts but if thats the best way then I would appreciate pointing in the right direction

Thanks, Mark
Dan B
Member

Registered: 25th Feb 01
User status: Offline
31st May 06 at 17:11   View User's Profile U2U Member Reply With Quote

Would the Windows scheduler be able to do this? Not really looked at it, in any great detail...
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
31st May 06 at 18:38   View Garage View User's Profile U2U Member Reply With Quote

create a batch file, and put some delete lines in there, then add it as a windows schedule task



Dan B
Member

Registered: 25th Feb 01
User status: Offline
31st May 06 at 18:39   View User's Profile U2U Member Reply With Quote

The more difficult part would be getting it to compare the current date against the creation-date of the file, and working out if it's more than x days old......am sure it's possible, though.

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Urgent help needed from those who know about p.c's Dr Pepper General Chat 40 2330
19th Jun 03 at 15:48
by Dr Pepper
 
Shall I delete my temporary internet folders? madboutcars Geek Day 19 1446
9th Sep 03 at 08:02
by vibrio
 
What pop-up filter would you recommend?? Phil Hall Geek Day 5 930
7th Mar 04 at 15:14
by Phil Hall
 
MSN Warning! Corsa E-Tec General Chat 6 1171
23rd Aug 05 at 09:49
by chris_uk
 
Windows Genuine Advantage CoastalCorsa Geek Day 32 907
31st May 06 at 21:59
by Munchie
 

Corsa Sport » Message Board » Off Day » Geek Day » Is there a way to auto delete files after a certain time? 29 database queries in 0.0098150 seconds