Project

General

Profile

Actions

Added in 1.9.0

$exists(file|dir)

Returns $true if a file or dir exists otherwise $false.

See also $isfile $isdir.

Parameters

Parameter Description
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 over 1 year ago · 2 revisions

Also available in: PDF HTML TXT