Function Reference


_WinAPI_GetFileAttributes

Retrieves file system attributes for a specified file or directory

#include <WinAPIFiles.au3>
_WinAPI_GetFileAttributes ( $sFilePath )

Parameters

$sFilePath The name of the file or directory.

Return Value

Success: The value contains the attributes of the specified file or directory ($FILE_ATTRIBUTE_).
Failure: 0, call _WinAPI_GetLastError() to get extended error information.

See Also

Search GetFileAttributes in MSDN Library.