Set Attributes of a Directory

  • Thread starter Thread starter Curtis Justus
  • Start date Start date
C

Curtis Justus

Hello,

How can I set the attributes for a directory? The File class has a
SetAttributes method, however the Directory class does not.

Thanks in advance,
cj
 
Hi again,

I think I just found the answer. SetAccessControl on the DirectoryInfo
object.

Thanks,
cj
 
If you wanted SetAccessControl, then Directory also has this as a static
method.

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top