Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Full Path on VFP
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00998190
Message ID:
00998230
Views:
24
>I'm editing a file with Modify Command and its path isn`t in SET PATH TO.
>I want to know if I can recover its full path with any function or memory variable.
>I use FILER.DLL but it's so slow because it scans all the disks.

How are you opening this file? From the Project Manager? There is a native FULLPATH function in VFP that will return the file name with the complete path to it. This generally works if the file is located somewhere in the VFP PATH environment or if the file includes a relative path (e.g., ..\FolderName\FileName). The LOCFILE function will prompt you to locate the file if it can not be found in the VFP search PATH. Otherwise, it returns the path and filename.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform