FYI: Conclusion - setting file attributes for directories I tried something and here are the results: CeGetFileAttributes() Worked for all devices. CeSetFileAttributes() Not worked on a PPC2002 device (Pocket PC) Worked on a WM2003 device (Smartphone) So it seems that this is only supported for devices using WM2003 or higner...