cwd([dir])

Class: SwingUI.

Description:

Sets or gets a current working directory.

Parameters:

Name Type Description

[dir]

string

New directory (omit when getting a directory).

Returns:

Returns current working directory. Throws error if directory cannot be found or user doesn't have permissions to access the specified directory when getting.

Type: string