Get application directory path

using System.IO;
using System.Windows.Forms;
 
string appPath = Path.GetDirectoryName(Application.ExecutablePath);
 

Download this snippet

Gets the path of the application directory, where the assembly is running in.

Twitter Twitter

Tags

CSharp C# path

1 Comments to “ Get application directory path”

  1. Anonymous  on Jun 10, 2010

    zCV21n <a href="http://yjgbzmvulfyy.com/">yjgbzmvulfyy</a>, [url=http://vaxunjpkrimy.com/]vaxunjpkrimy[/url], [link=http://dazwrvnttjkc.com/]dazwrvnttjkc[/link], http://ahswhryiojxt.com/

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>