Project

General

Profile

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

Updated by Per Amundsen about 2 years ago · 1 revisions

Also available in: PDF HTML TXT