====== MAKEDIR method (Filesystem) ====== ==== Description ==== Creates a new directory at the specified location. ==== Syntax ==== SuccessFlag = Exec_Method( "FILESYSTEM", "MAKEDIR", DirName, RecurseFlag ) ==== Parameters ==== ^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$| ==== Returns ==== 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. ==== Remarks ==== N/A ==== Example ==== // 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 ==== See Also ==== N/A