Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete Folders
Message
De
17/10/2005 00:22:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
17/10/2005 00:12:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP3
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01059540
Message ID:
01059544
Vues:
9
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform