How to get the path of recent documents folder using C#?
+17
A:
See:
System.Environment.SpecialFolder.Recent
So:
DirectoryInfo d = new DirectoryInfo(
System.Environment.GetFolderPath(Environment.SpecialFolder.Recent)
);
Noon Silk
2009-08-17 09:55:20
+1, though the DirectoryInfo thing may be unnecessary if he just needs the path :)
OregonGhost
2009-08-17 10:00:11