How to remove a single Attribute (e.g. ReadOnly) from a File?
-
29-10-2019 - |
Pergunta
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:
Io.File.SetAttributes("File.txt",IO.FileAttributes.Normal)
it removes all the attributes.
Nenhuma solução correta
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow