$samepath » History » Version 1
Per Amundsen, 10/05/2016 01:24 PM
1 | 1 | Per Amundsen | _Added in 2.6_ |
---|---|---|---|
2 | |||
3 | *$samepath(path1, path2)* |
||
4 | |||
5 | Returns [[$true]] if path1 is equal to path2, otherwise [[$false]]. |
||
6 | |||
7 | _Resolves relative paths and converts long/short filenames._ |
||
8 | |||
9 | *Parameters* |
||
10 | |||
11 | path1 - First path to compare. |
||
12 | path2 - Second path to compare. |
||
13 | |||
14 | *Example* |
||
15 | |||
16 | <pre> |
||
17 | //echo -ag $iif($samepath(config.ini, $adiircini), Same path, Different path) |
||
18 | </pre> |