{
return (from x in Directory.GetLogicalDrives()
select new DirectoryInfo(x)).ToList();
}
public static IList
{
return (from x in DriveInfo.GetDrives() select x).ToList();
// return null;
}
By using one of the code above i am able to acces all drives but i want to acces only C drive result like "Desktop", "Documents", "Picture", "Music", "Videos", "Downloads", "Recent","Network" plz help

Mamta MRank #268 · 9.4K reputationPosted Feb 27, 2012, 7:33 PM EST
http://msdn.microsoft.com/en-us/library/system.environment.specialfolder.aspx
http://www.daniweb.com/software-development/csharp/code/350113