GetCurrentDirectory

Files
Aptilis 1

GetCurrentDirectory()

getcurrentdirectory returns the current directory your programme is running in.

Return Value:
A string containing the current directory
If the string is empty (its length being 0) then you might want to check the _errno variable for a possible error.

Example:

d = getcurrentdirectory() $
print(d$)
Result:
c:\aptilis

See also changeDirectory.