DIRECTORY Function

Returns the full path of the directory (folder) in which a document is saved, as a string. Returns an empty string if the document has not been saved.

Syntax

DIRECTORY ()