DIREXISTS method (Filesystem)
Description
Determines if a specified directory exists.
Syntax
ExistsFlag = Exec_Method( "FILESYSTEM", "DIREXISTS", DirName )
Parameters
Name | Required | Description |
---|---|---|
DirName | Yes | Specifies the path of the directory to check. |
Returns
TRUE$ if the directory exists, or FALSE$ if it doesn't.
Remarks
N/A
Example
// Use the FILESYSTEM DIREXISTS method to check if a directory exists DirName = "c:\my_data\aug_2017" If Exec_Method( "FILESYSTEM", "DIREXISTS", DirName ) Then // It's there - Process the directory ... End
See Also
N/A