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