GetFileAttributes

Reads the attributes of a specified file.

Function Group Execution Windows Embedded Thin Client Mobile Access
GetFileAttributes File Synchronous Supported Supported Supported Not supported

Syntax

Web Studio Help tion file getfileattributes.xml d123762e76 GetFileAttributes
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” )

GetFileAttributes