Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File System Object
Message
 
 
À
11/06/2014 16:26:55
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:
01601747
Vues:
46
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
Christian Isberner
Software Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform