Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locate file in foxpro
Message
From
29/09/1998 16:14:29
 
 
To
29/09/1998 16:11:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00141989
Message ID:
00142115
Views:
29
>>>Just wondering if anyone out there known or have written code to locate a file within the foxpro environement. Basically, I am looking for a function that when i give it a file name and it returns the path where the file reside in the current directory.
>>>
>>>Any help is appreciated ....
>>>
>>>Thanks in advance.
>>
>>Do you mean LOCFILE() or GETFILE()?
>
>I know the fullpath() command but it is not what i am looking for... Basically,
>if i know the name of a file but yet dont know where it is in the directory. It is similar to the search command in file mananger where you type in a file name and it returns all the files found in the search path ....

You still can:
SET PATH TO &cSearchpath.
cPathname=LOCFILE(cFilename)
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform