Stores extended attributes for a specified file or directory into an array.
AFileAttributesEx(cArrayName, cFileName [, bUTCTimes])
Parameters
- cArrayName
On return the array contains the following information from the BY_HANDLE_FILE_INFORMATION structure. Element Content Datatype 1 Attributes N 2 Filesize N 3 Creation time T 4 Last access time T 5 Last write time T 6 The number of links to this file. For the FAT file system this member is always 0.
For the NTFS file system, it can be more than 1.N 7 The serial number of the volume that contains the file. N 8 The low-order part of a unique identifier that is associated with the file.
The identifier (low and high parts) and the volume serial number uniquely identify a file on a single computer. To determine whether two open handles represent the same file, combine the identifier and the volume serial number for each file and compare them.N 9 The high-order part of a unique identifier that is associated with the file. N
- cFileName
The name of the file for which to retrieve the attributes.
- bUTCTimes (optional)
default = .F.
If .T. the filetimes are retrieved as UTC times, otherwise they are converted to the current local timezone.
Return Value
Always .T.
See Also
Reference
ADirectoryInfo
ADirEx
ADriveInfo
AFileAttributes
CancelFileChange
CompareFileTimes
CopyFileEx
DeleteDirectory
DeleteFileEx
FindFileChange
GetFileAttributes
GetFileOwner
GetFileSize
GetFileTimes
GetLongPathName
GetShortPathName
MoveFileEx
SetFileAttributes
SetFileTimes