###User Defined Function###
_WinAPI_SetFileAttributes

###Description###
Sets the attributes for a file or directory.

###Syntax###
#include <WinAPIFiles.au3>
_WinAPI_SetFileAttributes ( $sFile, $iAttributes )


###Parameters###
@@ParamTable@@
$sFile
	The name of the file or directory whose attributes are to be set.
$iAttributes
	The file attributes to set for the file. This parameter can be one or more of the following values.
	$FILE_ATTRIBUTE_READONLY
	$FILE_ATTRIBUTE_HIDDEN
	$FILE_ATTRIBUTE_SYSTEM
	$FILE_ATTRIBUTE_ARCHIVE
	$FILE_ATTRIBUTE_NORMAL
	$FILE_ATTRIBUTE_TEMPORARY
	$FILE_ATTRIBUTE_OFFLINE
	$FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	True.
Failure 	False, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information.
@@End@@


###Remarks###
Not all attributes are supported by this function. For more information, see MSDN library.


###Related###


###See Also###
@@MsdnLink@@ SetFileAttributes
