_Added in 1.9.0_ *$exists(file|dir)* Returns [[$true]] if a file or dir exists otherwise [[$false]]. _See also [[$isfile]] [[$isdir]]._ *Parameters* file|dir - File or directory. *Example*
; Check if file exists
if ($exists(c:\windows\notepad.exe) file exists

; Check if directory exists
if ($exists(c:\windows) directory exists