$samepath » History » Version 2
Per Amundsen, 02/23/2023 07:31 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 | 2 | Per Amundsen | table(ktable). |
12 | |*Parameter*|*Description*| |
||
13 | | path1 | First path to compare. | |
||
14 | | path2 | Second path to compare. | |
||
15 | 1 | Per Amundsen | |
16 | *Example* |
||
17 | |||
18 | <pre> |
||
19 | //echo -ag $iif($samepath(config.ini, $adiircini), Same path, Different path) |
||
20 | </pre> |