Stores information about a directory into an array.

ADirectoryInfo(cArrayName, cDirectory)

Parameters

cArrayname
The name of the array into which the information about the directory should be stored.
ElementContent
1Number of files inside the directory including files inside subdirectories
2Number of subdirectories
3Size of the directory - sum of all filesizes
cDirectory

The fully qualified pathname of the directory.

Return Value

Always .T.

See Also

Reference

ADirEx
ADriveInfo
AFileAttributes
AFileAttributesEx
CancelFileChange
CompareFileTimes
CopyFileEx
DeleteDirectory
DeleteFileEx
FindFileChange
GetFileAttributes
GetFileOwner
GetFileSize
GetFileTimes
GetLongPathName
GetShortPathName
MoveFileEx
SetFileAttributes
SetFileTimes

Used WinApi functions

FindFirstFile
FindNextFile
FindClose