Set "hidden, system" file attrubute?

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.
 
E

Eliyahu Goldin

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

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top