General information
Category:
Coding, syntax & commands
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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only