Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Createobject with filesystemobject
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00745209
Message ID:
00745214
Vues:
24
>I am useing the following code to delete temp folders.
>ox = createobject('scripting.filesystemobject')
>ox.deletefolder(lcpath + '\*,.T.)
>
>the problem is I only want to delete folders from yesterday
>and before, not todays temp folders, Can you help?
>Thanks,

Doug,

If you first do
oFolder = ox.GetFolder(lcpath)
You can examine the DateLastModified or DateCreated properties to make this determination.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform