Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search for directories!
Message
De
24/01/2005 08:38:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00979752
Message ID:
00979968
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform