Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File System Object
Message
De
12/06/2014 12:40:01
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01601736
Message ID:
01601789
Vues:
43
Christian,

This is what I was looking for, and I finally figured it out on my own.

Thanks!

James

>
>loFSO = Createobject("Scripting.Filesystemobject")
>loFolder = loFSO.GetFolder("C:\Files")
>FOR EACH loFile IN loFolder.Files
>	?loFile.DateCreated
>	?loFile.Name
>ENDFOR
>
>
>>We have a program that uses ADIR() to get a list of PDFs that have a modification date of 7 prior to the current date. If they are older than 7 days they are deleted. The problem is that the number of files in the directory exceeds the limit of ADIR().
>>
>>I have been searching for an elegant solution, but I have not found it yet. Can anyone help out?
>>
>>Regards,
>>
>>James
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform