I just want to remove readonly and hidden attributes using the c# code of the directory an not the file.
But, when I am unchecking the readonly checkbox manually by right clicking the folder ---> Properties, and uncheck the readonly attribute, it is not setting it i.e, when I again right click the forlder and goes into properties, it is showing it as readonly again.
So, how Can I set this readonly manually as well as using the c# winform code?
Also, this string of questions sounds suspiciously like homework. We don't do homework here. If you don't understand the problem, ask your teacher. That is what they are there for.
Bookmarks