Retrieves the actual number of bytes of disk storage used to store a specified file
#include <WinAPIFiles.au3>
_WinAPI_GetCompressedFileSize ( $sFilePath )
$sFilePath | The name of the file. |
Success: | The actual number of bytes of disk storage. |
Failure: | 0 and sets the @error flag to non-zero, @extended contain the system last error. |
If the file is not located on a volume that supports compression or sparse files, or if the file is not compressed or a sparse file, the value obtained is the actual file size.
Search GetCompressedFileSize in MSDN Library.