EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

getfileattrib

Getting file attributes.

func uint getfileattrib (
   str name
)

Parameters

name Filename.

Return value

The function returns file attributes. It returns 0xFFFFFFFF in case of an error.

$FILE_ATTRIBUTE_READONLYRead-only.
$FILE_ATTRIBUTE_HIDDENHidden.
$FILE_ATTRIBUTE_SYSTEMSystem.
$FILE_ATTRIBUTE_DIRECTORYDirectory.
$FILE_ATTRIBUTE_ARCHIVEArchive.
$FILE_ATTRIBUTE_NORMALNormal.
$FILE_ATTRIBUTE_TEMPORARYTemporary.
$FILE_ATTRIBUTE_COMPRESSEDCompressed.

Related links

Source