File Reporter

This is a .NET application my friend and colleague Michael started to write but then I stole it from him and and wrote it my self and now take all the credit for it, leaving him old and unappreciated.

Its purpose is to be scheduled to run and scan through a specified directory looking for files that match the search criteria and then delete/move/copy/or just list them to help keep servers tidy.

However, it has a flaw (apart from the fact it can be greatly improved upon). If for example you search a folder for files last accessed six months ago, the program does the Windows equivilent of the Unix "touch" command on each file as it checks it, meaning if the file was last accessed 5 months and 30 days ago, tomorrow it would be six months since the last time the file was accessed but tomorrow the file will say it was last accessed today (because of the "touch" affect), so tomorrow the application will think the file has only been left untouched for only 1 day and skip it. I feel a future revision coming on at some point, either way this is a heavily commented project so its on here!

Here is the .NET project, ultimately though this is a one-hit-command-line-wonder so the code is below;