Diciamo che un file ha i seguenti attributi: ReadOnly, Hidden, Archived, System
. Come posso rimuovere solo un attributo? (ad esempio ReadOnly)Come rimuovere un singolo attributo (ad es. ReadOnly) da un file?
Se uso:
Io.File.SetAttributes("File.txt",IO.FileAttributes.Normal)
rimuove tutti gli attributi.
leggere attributi correnti, mascherare l'attributo si richiede di impostare, impostare l'attributo ... –