EasyManua.ls Logo

Crestron SIMPL+ - FILE_INFO Structure

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G SIMPL+
®
z 135
FILE_INFO Structure
Use this structure to retrieve information about a file.
STRUCTURE FILE_INFO
{
STRING Name; // relative name of the found file
INTEGER iAttributes; // attributes for the file
INTEGER iTime; // file time in packed form
INTEGER iDate; // file date in packed form
LONG_INTEGER lSize; // size of the file in bytes
};
File Attribute Bit Flags - These may be Bitwise OR’ed together
Version:
SIMPL+ Version 3.00.02 or higher (Pro 2 only)
KEYWORD ATTRIBUTE Equivalent SIMPL+ Function
ARDONLY File is marked read only IsReadOnly
AHIDDEN File is hidden IsHidden
ASYSTEM File is marked as a system file IsSystem
AVOLUME File is a volume label IsVolume
ADIRENT File is a directory IsDirectory
ARCHIVE File is marked as an archive -
NOTE: For an example of how and where to use the FILE_INFO structure, refer to
the example code in "FindFirst" on page 149.

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals