uFileInfo

Returns information about a file. When infotype is set to EXISTS, the function returns the entire path to the file, if it exists, or an empty string if it does not. If infotype set to SIZE, the size of the file is returned. If the file does not exist, an empty string is returned.

Note:

Use double backslashes in JavaScript environments, because the backslash is used as escape sequence.

Syntax

string uFileInfo(file [, infotype])

Parameters

Examples