Determines if a specified file exists.
ExistsFlag = Exec_Method( "FILESYSTEM", "FILEEXISTS", FileName )
Name | Required | Description |
---|---|---|
FileName | Yes | Specifies the name and path of the file to check for. |
TRUE$ if the file exists, or FALSE$ if it doesn't.
N/A
// Use the FILESYSTEM FILEEXISTS method to check if a file exists FileName = "c:\my_data\aug_2017\book3.xls" If Exec_Method( "FILESYSTEM", "FILEEXISTS", FileName ) Then // It's there ... End
N/A