$isdir » History » Version 1
Per Amundsen, 08/06/2015 03:21 AM
| 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 | dirfile - Directory to check. |
||
| 10 | |||
| 11 | *Example* |
||
| 12 | |||
| 13 | <pre> |
||
| 14 | ; Check if 'windows' exists. |
||
| 15 | //if ($isdir(C:\Windows)) echo -ag directory exists |
||
| 16 | </pre> |