CNS Image

Import, edit, and export Images in the FileMaker environment

<- Back to CNS Image function list

CNSImage_File_Exists

Description

This function will check to see if a file exists.

Return Type
Number (1=True, 0=False)
Format
CNSImage_File_Exists ( File )
Required Parameters
  • File

    The Path and File Name of the File you want to Find.

Related Items
CNSImage_Export, CNSImage_File_Copy, CNSImage_File_Delete, CNSImage_File_GetPath, CNSImage_File_SelectFileWithDialog, CNSImage_File_SelectFolderWithDialog, CNSImage_Import, Reference: Paths
Examples

Example 1

Code:

CNSImage_File_Exists("c:\random\ithink.jpg")

Result:

Returns "True" if the "ithink.jpg" file exists on Windows.

Example 2

Code:

SMTPit_File_Exists("/random/ithink.jpg")

Result:

Returns "True" if the "ithink.jpg" file exists on Mac.