Skip to content

GET_CWD

GET_CWD returns the current working directory as an absolute path

Syntax

leo-grammar
CC " AdoScript" GET_CWD .

# --> RESULT cwd:strValue
CC " AdoScript" GET_CWD .

# --> RESULT cwd:strValue

Parameters

none

Returns

  • cwd (strValue) - the absolute path to the current working directory

Details

See Also

SET_CWD

Examples

asc
CC "AdoScript" GET_CWD
CC "AdoScript" INFOBOX ("The current working directory is: " + cwd)
CC "AdoScript" GET_CWD
CC "AdoScript" INFOBOX ("The current working directory is: " + cwd)

displays the current working directory it in an infobox

Versions and Changes

Available since ADOxx 1.3