guides:programming:programmers_reference_manual:direxists_method_filesystem

DIREXISTS method (Filesystem)

Determines if a specified directory exists.

ExistsFlag = Exec_Method( "FILESYSTEM",  
                          "DIREXISTS",   
                          DirName )
 
NameRequiredDescription
DirNameYesSpecifies 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

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