$isdir » History » Version 2
Per Amundsen, 02/23/2023 01:55 PM
1 | 1 | Per Amundsen | _Added in 1.8.10_ |
---|---|---|---|
2 | |||
3 | *$isdir(dirfile)* |
||
4 | |||
5 | Returns [[$true]] if the specified directory exists, otherwise [[$false]]. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | 2 | Per Amundsen | table(ktable). |
10 | |*Parameter*|*Description*| |
||
11 | | dirfile | Directory to check. | |
||
12 | 1 | Per Amundsen | |
13 | *Example* |
||
14 | |||
15 | <pre> |
||
16 | ; Check if 'windows' exists. |
||
17 | //if ($isdir(C:\Windows)) echo -ag directory exists |
||
18 | </pre> |