using System;
using System.Windows.Forms;
class MyDocumentsFolder
{
public static void Main()
{
Console.WriteLine(Environment.GetFolderPath(Environment.SpecialFolder.Personal));
foreach (Environment.SpecialFolder s in
Enum.GetValues(typeof(Environment.SpecialFolder))) {
Console.WriteLine("{0} folder : {1}", s, Environment.GetFolderPath(s));
}
}
}
|