$isfile » History » Version 2
Per Amundsen, 02/23/2023 02:04 PM
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 | 2 | Per Amundsen | table(ktable). |
10 | |*Parameter*|*Description*| |
||
11 | | file | File to check. | |
||
12 | 1 | Per Amundsen | |
13 | *Example* |
||
14 | |||
15 | <pre> |
||
16 | ; Check if notepad.exe exists. |
||
17 | //if ($isfile(C:\Windows\notepad.exe)) echo -ag file exists |
||
18 | </pre> |