How do you set the following file attributes:
Compressed
Encrypted
Normal
ReparsePoint
SparsePoint
You CAN'T set these using FileInfo.Attrib utes or File.SetAttribu tes. It
doesn't work for these file attributes.
Please show me some code how to set those attributes. If I have to use a
Win 32 API call then please show me how to do it.
I found you can set Archive, Hidden, NotContentIndex ed, Offline, ReadOnly,
System, and Temporary using either FileInfo.Attrib utes or File.SetAttribu tes.
I just need a method that works to set the remaining file attributes.
Thanks,
-- John...
Compressed
Encrypted
Normal
ReparsePoint
SparsePoint
You CAN'T set these using FileInfo.Attrib utes or File.SetAttribu tes. It
doesn't work for these file attributes.
Please show me some code how to set those attributes. If I have to use a
Win 32 API call then please show me how to do it.
I found you can set Archive, Hidden, NotContentIndex ed, Offline, ReadOnly,
System, and Temporary using either FileInfo.Attrib utes or File.SetAttribu tes.
I just need a method that works to set the remaining file attributes.
Thanks,
-- John...
Comment