Get the paths of all special folders using c#

Madhu.b.rokkam
Posted by Madhu.b.rokkam under C# category on | Points: 40 | Views : 4922
static void Main(string[] args)
{
foreach (Environment.SpecialFolder splfolder in Enum.GetValues(typeof(Environment.SpecialFolder)))
{
string path = Environment.GetFolderPath(splfolder);
Console.WriteLine("{0}==>{1}", splfolder, path);
}
Console.Read();
}

Comments or Responses

Login to post response