Discussion Locked

automatically delete folder contents

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a way to set up a folder on a 2000 server that will automatically delete files that are over a certain time period old?

2 replies

by malkeetdxb

Pretty simple solution would be to create
a .exe file and scheduled to run on a
time period assigned.

by chris

I've used a VBS script, and had it scheduled to run during certain times. I can't include my script here, but I can point you to a script that works as well - and is easily modified.

I like this script, as it includes logging - and also does subdirectories as well. Take a look at it, and let me know if you need any help getting it to work.

http://www.pooh.cz/1001/a.asp?a=2003801&db=1001

Hope that helps.

Chris

This discussion is closed to new replies.