Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to work with files in system/hidden folders
Message
De
10/01/2000 11:48:49
 
 
À
10/01/2000 11:44:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00314887
Message ID:
00315536
Vues:
63
This directory is created by Microsoft Office when you elect to have the graphics files files copied to your hard drive for Word. I was amazed that there was so much in there...



>>Hi Ed,
>>
>>I was just trying out the code after you modified it to see the results. From my experiance if you used ADIR() to populate a tree of directories and Scripting.FileSystemObject to populate the files side you should be safe even if you had 13,000+ files?? You could get the best of both so to speak...
>>
>
>VFP has a limit on the size of an array - 65000 elements, assuming nothing else steps in to reduce that further. 13000 * 5 is right at the limit - 13001 is too large. If you indeed have a directory with that many entries, ADIR() and arrays are not going to be usable.
>
>I'd consider very carefully why you have a single directory with 13000 entries in it; perhaps something should be done to reduce the number of files in this single folder. Even under NetWare, you're going to take a noticable performance hit on wildcarded searches and file open/close operations. Reorganization of the directory might be in order; perhaps you could zip sets of files as they become outdated or less frequently referenced.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform