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