how to get the current path in C# code example Example: c# windows application get current path System.IO.Path.GetDirectoryName(Application.ExecutablePath);