Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete Folders
Message
From
17/10/2005 00:22:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
17/10/2005 00:12:24
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01059540
Message ID:
01059544
Views:
8
>Dear Sir,
>
>If I mange folder names according to your advise then what codes should I apply to delete specifice folders
>
>Please help

Well, you would still need to get the individual folder names. You can then compare it with the date.
if FolderName < dtos(MyDate)
  ...
Otherwise, if you don't rename the folders, you have to convert the folder names to a date, and then do the comparison. Extract the day, month, and year, and convert to a date with the date() function.
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