Salesforce

FileExist (Magic xpi 4.5)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

FileExist (Magic xpi 4.5)

Checks whether a specified file or folder exists on a drive, and returns a Boolean (TRUE, FALSE).

Syntax:

FileExist(Alpha filespec)

Parameter:

filespec: An Alpha string that represents the file or folder specification. The string may contain a path. If the path is not indicated, the current directory is used.

Returns:

Boolean (TRUE, FALSE).

Example:

FileExist('c:\magic\magic.ini')
returns TRUE if the Magic.ini file exists in the C:\Magic xpi directory.

Reference
Attachment 
Attachment