Returns the current file attributes for the specified file. This a DWORD field of flag bits as defined by the Windows File System
Windows defines almost 20 various flags, but the ones you would normally care about are defined by these equates:
FM_EQU_READONLY = &H00000001
FM_EQU_HIDDEN = &H00000002
FM_EQU_SYSTEM = &H00000004
FM_EQU_DIRECTORY = &H00000010
FM_EQU_ARCHIVE = &H00000020
You will notice there is no flag for a 'normal' file. Basically, if a file is not a directory, it is a 'normal' file.
|