GetCurrentDirectory()
Syntax
Result$ = GetCurrentDirectory()Description
Returns the current directory for the program.
Parameters
None.
Return value
Returns the full path of the current directory. It will end with a directory separator ('\' on Windows and '/' otherwise).
It's very unlikely, but if this function fails, it will return an empty string.
Remarks
All files accesses are relative to this directory, when no absolute path is specified. To change the current directory, use SetCurrentDirectory().
See Also
SetCurrentDirectory(), GetHomeDirectory(), GetTemporaryDirectory()
Supported OS
All