GetFileAttributes

Reads the attributes of a specified file.

Function Group Execution Windows Embedded Thin Client
GetFileAttributes File Synchronous Supported Supported Supported

Syntax

GetFileAttributes(strFile)
strFile
The file path and name of the file from which to read the attributes.

Returned value

−1 Error
1 Read only
2 Hidden
4 System
16 Directory
32 Archive
128 Normal
256 Temporary

Examples

Tag Name Expression
Tag GetFileAttributes( "C:\Readme.txt" )