Delete Files that are a Specified Number of Days Old.
Version Compatibility: Visual Basic 6
VB 6 is required because the Split function is used. If you want to do this in VB5, see this article from the MS knowledge base, which shows you how to implement Split in VB5.
Instructions: Copy the declarations and code below and paste directly into your VB project.