Bit 7 = 1: Shareable
Bit 6 = 1: Archive
Bit 5 = 1: Directory
Bit 4 = 1: Volume (ignored)
Bit 3 = 1: Label
Bit 2 = 1: System
Bit 1 = 1: Hidden
Bit 0 = 1: Read-only
Edit: My original answer was incorrect as the values I stated were bitwise, so for clarity decimal would be:
mov cx, 0 ; No attributes.
mov cx, 1 ; Read-only.
mov cx, 2 ; Hidden.
mov cx, 4 ; System
mov cx, 16 ; Archive
For multiple attributes add the values together.
This means the value of CX was correct in your original post as 1 is 1 whether in decimal or hex (or binary), so whatever changes you made, that should not be what solved it.
Glad you got it working though.