Funktionreferenz


_WinAPI_SfcIsFileProtected


Determines whether the specified file is protected

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

Parameter

$sFilePath The name of the file to test.

Rückgabewert

True: the file is protected.
False: the file is not protected.

Bemerkungen

None.

Siehe auch

Suche nach SfcIsFileProtected in der MSDN Bibliothek.

Beispiel

#include <MsgBoxConstants.au3>
#include <WinAPIFiles.au3>

MsgBox($MB_SYSTEMMODAL, "Titel", 'Dateischutz Status = ' & _WinAPI_SfcIsFileProtected(@WindowsDir & "\explorer.exe"))