Added in 2.6

$samepath(path1, path2)

Returns $true if path1 is equal to path2, otherwise $false.

Resolves relative paths and converts long/short filenames.

Parameters

Parameter Description
path1 First path to compare.
path2 Second path to compare.

Example

//echo -ag $iif($samepath(config.ini, $adiircini), Same path, Different path)