Product Logo

CNS Menu

Dynamic Menus

Functions

CNSMenu_File_Exists

NameCNSMenu_File_Exists
Description

Checks for the existence of a file.

Return TypeNumber (1=True, 0=False)
FormatCNSMenu_File_Exists ( File )
Required Parameters
File

The path and file name of the file you want to find.

Examples
Example 1

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

CNSMenu_File_Exists( "c:\random\ithink.txt" )
Example 2

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

CNSMenu_File_Exists( "/random/ithink.txt" )