Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filesearch
Message
 
À
13/07/2008 06:08:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01330920
Message ID:
01330958
Vues:
23
>How can I search a particular file say "abc.ini", which may be hidden & may also be in hidden folder. The file may be anywhere in the whole c: drive. Only one occurance of the file will be there. I want to do this from program & dont want to use filer.
>
>I need the full path of the file.

Marc has sent in the correct direction. If you don't want to use filer.fll then you need to reinvent its functionality in VFP code using ADIR() to get a list of folders and then processing that array to get the list of files and dealing the fact that some folders have both files and other folders and dealing with the recurrsive nature of the search for the file you are looking for. Or you could relax your spec and use Filer.fll and let it do all of that for you.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform