%SYN_GETDIR

Get the current directory path

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
path = %SYN_GETDIR

Return value

path

The path for the current directory. (a)

Discussion

%SYN_GETDIR returns the path for the current directory.

Examples

The example below sets path to the current directory path.

record
    path        ,a255
proc
    path = %syn_getdir