Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Delete Folders created prior to some date
Message
From
27/10/2005 08:49:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01003065
Message ID:
01062594
Views:
24
>With my above code. Lets say that I want to delete folders whose last modified date was over 20 days ago. BTW - there are no subfolders and there are no readonly. For folders - Can I still use the ADIR, will the atemps still work, how do I tell a folder from a file so I can use the rmdir?
>
>Brenda

One of the columns of the adir() result lists attributes. If a "D" is included in the attributes, then it is a directory.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform