Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete Folders
Message
From
17/10/2005 00:04:00
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/10/2005 23:48:23
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:
01059541
Views:
10
Did you consider renaming your folders? If you have them in the format yyyymmdd, it is much easier to manipulate them. For example, they will be sorted correctly if you sort by name, and you can immediately compare with less-than or greater-than.

>Dear Experts
>
>I have a folder entitled "Tables".
>It has sub folders named as
>
>12102005
>13102005
>14102005
>15102005
>16102005
>17102005
>
>The name of folders are like British Date
>I want to delete the folders that names are less than date()-2
>and suppose today date is 17102005
>
>After applying command the following folders will be delete
>
>12102005
>13102005
>14102005
>15102005
>
>and following folders will be left in "Tables"
>
>16102005
>17102005
>
>Please Help
>Thanks in advance
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
Next
Reply
Map
View

Click here to load this message in the networking platform