$isfile » History » Version 1
Per Amundsen, 08/06/2015 03:20 AM
1 | 1 | Per Amundsen | _Added in 1.8.10_ |
---|---|---|---|
2 | |||
3 | *$isfile(file)* |
||
4 | |||
5 | Returns [[$true]] if the specified file exists, otherwise [[$false]]. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | file - File to check. |
||
10 | |||
11 | *Example* |
||
12 | |||
13 | <pre> |
||
14 | ; Check if notepad.exe exists. |
||
15 | //if ($isfile(C:\Windows\notepad.exe)) echo -ag file exists |
||
16 | </pre> |