Mwnci getwd() Function

Syntax

getwd()

Description

The function getwd() returns a rooted path name corresponding to the current directory. If the current directory can be reached via multiple paths (due to symbolic links), getwd() may return any one of them.

Example

println("Current directory = ", getwd())


Current directory = /home/eccles/Desktop