Check out the Adir() function. The following code will load all *.txt files into an array called afiles that are in the c:\temp directory:
nNumberofFiles = Adir(afiles,"c:\temp\*.txt")
If nNumberofFiles > 0
*/ you found files...
Endif
>Hello everyone!
>
>Does anyone tried to implement something like file search in VFP.
>
>The situation is simple. Project I'm working on requres to check selected drives by directories tree and find all files with certain mask. For example I need to find all *.pjx on developer computer and build, let's say tree or list of all occurenses. Please, show me the better way how to do it.
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