General information
Category:
Coding, syntax & commands
Title:
How To Count more than 65,000 files in directory
I'm working on a data transfer project where ARC files are expanded into new directories and ADIR() is used to return the file names and file count.
When there are more than 65,000 files expanded, VFP 6.0 errors with Too many variables. (array limit reached).
How can I test for the number of files prior to calling ADIR()???
I considered running DIR * TO FILE (filename) but I figure, the overhead of
writing a 65,000 line file to disk multiple times, is more than the system will bear.
Any and all suggestions will be appreciated.
_Curtis
Next
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