How can we figure out the filesystem location of the running application?
2
If you work on Console use this
AppDomain.CurrentDomain.BaseDirectory
or on Windows Forms use
Application.StartupPath
-
-
3@TravisBanger: Your question does not give any indication of that. You should add the appropriate tags. Pro tip: With the WPF reference added, your question is a duplicate of this question and that one. – O. R. Mapper Jan 6 '14 at 21:47
Directory.GetCurrentDirectory
– Harrison Jan 6 '14 at 21:41