469,952 Members | 2,532 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,952 developers. It's quick & easy.

Set "hidden, system" file attrubute?

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.

Dec 19 '05 #1
2 1408
System.IO.DirectoryInfo.Attributes, provided you have sufficient access
rights.

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

Eliyahu

"alex" <al*****@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
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.

Dec 20 '05 #2
Thats the one. Thanks!

Dec 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Mike Labosh | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.