Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximum number of files in one directory?
Message
 
À
18/02/2009 15:51:14
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Windows
Catégorie:
Réseau & connectivité
Divers
Thread ID:
01382738
Message ID:
01382751
Vues:
57
>Beware! :)
>
>There may not be a limit in OS terms, but in VFP terms, there is definitely a limit for the ADIR() function. 488 files on my machine. Pass that limit, ADIR will still work and not give any errors, but will only return 488 files.

That does not happen to me at all.
? Adir(laFiles, 'X:\foxv\ATC\Datadump\VCC\*.*') && 16933
? Alen(laFiles) && 84665
? Alen(laFiles, 1) && 16933

for lnFile = Alen(laFiles, 1) - 50 to Alen(laFiles, 1)
	? laFiles[lnFile, 1] && Looks as they are indeed the last 50 files (the files names are date-related and I got the last days as I expected)
next lnFile
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform