![]() |
![]() |
$file.exists Check if a file or directory exists |
Usage |
<boolean> $file.exists(<file or directory path:string>) |
Description |
Returns true if the specified file or directory exists. The path should be given in UNIX style and is adjusted according to the system that KVIrc is running on. |
Examples |
# Windows
echo $file.exists(c:/windows/notepad.exe);
# Linux, other UNIX's
echo $file.exists(/etc/passwd);
|