guides:programming:programmers_reference_manual:makedir_method_filesystem

MAKEDIR method (Filesystem)

Creates a new directory at the specified location.

SuccessFlag = Exec_Method( "FILESYSTEM",  
                           "MAKEDIR",     
                           DirName,       
                           RecurseFlag )
 
NameRequiredDescription
DirNameYesSpecifies the path of the directory to create.
RecurseFlagNoIf 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

  • guides/programming/programmers_reference_manual/makedir_method_filesystem.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1