# GETCWD()

Syntax:

Then: xx=GETCWD()

Return value is a text field, which is the length of the current directory name.

Note: Under MS-DOS, the path entries are separated with forward slashes "/" rather than backslashes "\".

Version Ref: 4.5

Description:

Returns the current directory name.

Examples:

To write an ASCII file to the current directory:

Then: xx=getcwd(); aa=xx & "/mailist"
Then: export ASCII test=(aa)