Remove read only attribute

Sep 6, 2013 at 10:40 AM
How can I remove only one attribute from ZlpFileInfo.Attributes?

Let say a file has Archive or ReadOnly and I only want to remove ReadOnly? How do I do that?

Thanks!
Sep 20, 2013 at 3:15 PM
I use the following code (VB):

Dim fileInfo As New ZlpFileInfo("C:\Temp\file.dat")
fileInfo.Attributes = fileInfo.Attributes And Not FileAttributes.Readonly
Oct 10, 2013 at 10:10 AM
Thanks!