Note, that attribute setting differs for VCL and .NET versions.
To enable several modes in .NET use bitwise OR operation, for example "fileAttributeReadonly | fileAttributeHidden | fileAttributeSystem".