FileType =  directory .file .type .get  (  FileNumber  )  
                                     
Description :

This instruction returns (after a "directory.scan") the type of a particular file.

Parameters :

  • Index of the file. Valid in the range [1, number of files scanned].

Return Value :

  • FILE_READONLY
    FILE_HIDDEN
    FILE_SYSTEM
    FILE_VOLUMELABEL
    FILE_SUBDIRECTORY
    FILE_ARCHIVE

Examples :