Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getfile question
Message
From
31/03/2000 17:57:38
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00353361
Message ID:
00353699
Views:
18
>save a little effort - FULLPATH(CURDIR()) will return the current directory properly prefixed without the ambiguity that I've seen arise from using SYS(5) on UNCs where you're working in an unmapped UNC, and terminates cleanly with the \ in all cases. YMMV - I avoid SYS(5) like the plague. You can also force the return from GETFILE to specify a FULLPATH() IAC, so the following is better form from my POV at least:

Point taken. However, Allen specified that he wants to know that it is in the _application_ directory. It seems that your way would potentially find a file elsewhere.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform