Stores attributes for a specified file or directory into an array.
AFileAttributes(cArrayName, cFileName[, bUTCTimes])
Parameters
- cArrayName
On return the array contains the following information from the WIN32_FILE_ATTRIBUTE_DATA structure. Element Content Datatype 1 Attributes N 2 Filesize N 3 Creation time T 4 Last access time T 5 Last write time T
- 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
AFileAttributesEx
CancelFileChange
CompareFileTimes
CopyFileEx
DeleteDirectory
DeleteFileEx
FindFileChange
GetFileAttributes
GetFileOwner
GetFileSize
GetFileTimes
GetLongPathName
GetShortPathName
MoveFileEx
SetFileAttributes
SetFileTimes