Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search for directories!
Message
From
24/01/2005 08:38:58
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00979752
Message ID:
00979968
Views:
17
This message has been marked as the solution to the initial question of the thread.
>Hi every body,
>
>How can I find all the directories which contain one special file on them on a computer?
>
>Thank you,
>Ali


Hi there :)
You can have look at my XDIR tool here in downloads.
Using this object you can relatively easy implement this kind of of search for files.

Directory scanner object will pass you all file names / directories found along the path (including subrirectories) , all you hv to do is compare it
with file names you are searching for and store them in cursor or array for further processing.
It is also recursive, and based on ADIR. Only problem you might hv is if
number of files in some directory exceed array limits.

Rgds++
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform