Describes an example that creates files and directories and retrieves information about them.
Click on the following link to download the example: Attributes.zip
Click on the following link to download additional files: CommonFramework.zip
Browse Attributes to view the example code.
Browse CommonFramework to view additional files.
Attributes
is an example
of how to create a file, and retrieve its entry details and attributes. This
demonstrates the use of the TEntry
class. A CDir
object
contains an array of TEntry
s which may be retrieved by a
call to RFs::GetDir()
.
The code creates several files
and directories inside a top level directory called \f32examp\
on
the default drive. Before the program terminates, all files and directories
created by the program are deleted.