DIR_CURRENT$

DIR_CURRENT$

RETURNS THE CURRENT DIRECTORY

  • Type: System Variable
  • Parameter: 0
  • Group: Directory

ACTION

The system variable DIR_CURRENT$ returns the name of the current directory in a string.

Remark: the keyword DIR_CURRENT$ ends by '$' because the returned value is a string.

SYNTAX: DIR_CURRENT$ in an expression

USE

  • The system variable DIR_CURRENT$ is used to know the current directory.

ERROR

  • None.

EXAMPLE

print "current directory: "+dir_current$

SEE ALSO

DIR_CHANGE

DIR_MAKE

DIR_EXISTS()