Set "hidden, system" file attrubute?

  • Thread starter Thread starter alex
  • Start date Start date
A

alex

I need to set a directory with hidden and/or system attribute from my
c# code. Similar to what is c:\RECYCLER folder set to in WinXP. So it
is not visible to a user with default "Folder Options". Is that
possible?

Thanks.
 
System.IO.DirectoryInfo.Attributes, provided you have sufficient access
rights.

I presume you are talking about a server-side directory.

Eliyahu
 

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