Environment.SystemDirectory
using System; class MainClass { public static void Main() { Console.WriteLine("Current Directory: {0}", Environment.CurrentDirectory); Console.WriteLine("System Directory: {0}", Environment.SystemDirectory); } }