Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Using CFileMan


Using CFileMan::Attribs()

The code example shows a use of the Attribs() functions.

_LIT(KDirText,"\\TopDir\\");
...
fileMan.Attribs(KDirText,KEntryAttHidden|KEntryAttReadOnly,
    KEntryAttArchive,TTime(0),CFileMan::ERecurse);
...

This sets the hidden and read-only attributes, and clears the archive attribute for all files located in the hierarchy below \TopDir\. The time of their last modification will be unchanged.