I tried to run the following code:
var top = new DirectoryInfo("C:\\");
foreach(var info in top.GetFileSystemInfos())
System.Console.WriteLine("{0}: {1}", info.Name, info.Attributes);
I got the following result:
$Recycle.Bin: Hidden, System, Directory
ATI: Directory
Documents and Settings: Hidden, System, Directory, ReparsePoint, NotContentIndexed
MSOCache: ReadOnly, Hidden, Directory, NotContentIndexed
PerfLogs: Directory
Program Files: ReadOnly, Directory
Program Files (x86): 65553
ProgramData: 73746
Recovery: Hidden, System, Directory, NotContentIndexed
System Volume Information: Hidden, System, Directory
Users: ReadOnly, Directory
Windows: 65552
hiberfil.sys: Hidden, System, Archive, NotContentIndexed
pagefile.sys: Hidden, System, Archive
Most of those are pretty obvious. But what does those marked in bold mean? Especially the numeric ones for Program Files and Windows.