Let say, a file has the following attributes: ReadOnly, Hidden, Archived, System
.
How can I remove only one Attribute? (for example ReadOnly)
If I use the following, it removes all the attributes:
IO.File.SetAttributes("File.txt",IO.FileAttributes.Normal)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…