FileOps.$getworkingdir()

Function group Execute on client Platform(s)
FileOps NO Windows

Syntax

FileOps.$getworkingdir()

Description

Returns the current working directory (no parameters required), so is only useful when running in Windows. The function returns an empty string if an error occurs.

Note: Applications on macOS do not have a working directory. If you use this function on macOS, it returns an empty string.

Example

Do FileOps.$changeworkingdir(sys(115)) Returns lError
Do FileOps.$getworkingdir() Returns lWorkDir