Creates a new directory at the specified location.
SuccessFlag = Exec_Method( "FILESYSTEM", "MAKEDIR", DirName, RecurseFlag )
Name | Required | Description |
---|---|---|
DirName | Yes | Specifies the path of the directory to create. |
RecurseFlag | No | If TRUE$ then recurse to create any subdirectories as needed. Defaults to FALSE$ |
TRUE$ if the directory was created successfully (or already exists), or FALSE$ an error occurred. The FILEOPRESULT property may be used to obtain more details regarding the failure.
N/A
// Use the FILESYSTEM MAKEDIR method to create a directory DirName = "c:\my_data\aug_2017" If Exec_Method( "FILESYSTEM", "MAKEDIR", DirName ) Then // It's there - Process the directory ... End
N/A