I would like to know (using C#) how I can delete files in a certain directory older than 3 months, but I guess the date period could be flexible.
Just to be clear:
Alternatively, you can use the File.GetCreationTime Method if you need to delete files based on creation dates.