Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fullpath + Filename
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00777149
Message ID:
00777154
Views:
11
>Hi everybody,
>
>When I use fullpath() , it returns “full path and file name” in one place, yet it returns only full path in other cases. How can I force it to return “full path + file name” always?
>
>Thank you,

Hi Ali,

I'm not sure what you mean. If you pass file name, FULLPATH() will return file's full name (path + file name) if it can find the file along VFP search path. If it cannot find the file, it still returns full file name but the path is current VFP directory. If you call FULLPATH() with empty string, it'll return current VFP directory.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform