General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only