Determines if a specified directory exists.
ExistsFlag = Exec_Method( "FILESYSTEM", "DIREXISTS", DirName )
Name | Required | Description |
---|---|---|
DirName | Yes | Specifies the path of the directory to check. |
TRUE$ if the directory exists, or FALSE$ if it doesn't.
N/A
// 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
N/A