<p>Is there any way that I can programmatically create (and I guess access) hidden folders on a storage device from within c#?</p>

```
```
using System.IO; 

string path = @"c:\folders\newfolder"; // or whatever 
if (!Directory.Exists(path)) 
{ 
DirectoryInfo di = Directory.CreateDirectory(path); 
di.Attributes = FileAttributes.Directory | FileAttributes.Hidden; 
}
```
```