Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find a Path
Message
 
 
To
08/08/2003 10:41:11
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00818232
Message ID:
00818243
Views:
19
>Is there a function to fine the path of a file when only the file name in known?

Yes, if it's on VFP path.
lcFileName = ".."
IF FILE(lcFileName)
  lcFilePath = JUSTPATH(FULLPATH(lcFileName ))
ENDIF
Otherwise you'll have to search directories using ADIR(), WSH or VFP filer.dll.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform