Вопрос

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.

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top