Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filesearch
Message
 
To
13/07/2008 06:08:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01330920
Message ID:
01330958
Views:
26
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform