in reply to Delete files every 5 sec. Register as Win Service
The only other thing to note is if you are going to have it run as a service, make sure the service has proper permissions to delete files from the hard drive. LocalSystem may not cut it.
/- M a r c -/