getcwd

Returns the path for the current working directory. If you switch directories in the console or when loading files, the current working directory path will follow.

Syntax

getcwd()

Input

N/A

Example

Enter the following Templex statement in the Notes panel, Text tab and click Apply:
{getcwd()}
The current working directory, C:/Users, is displayed as the note.
Figure 1.


If you switch directories in the Console, the current working directory will also change in the note if you click Apply in the Text tab:
Figure 2.


Comments

N/A