title: How to get a path from a directory in a C# console application?
body: <p>Say I have this file structure</p>
  
  <p>Soultion-> Folder1 -> FileIwant.html</p>
  
  <p>So this could be something like C:\Soultion\Folder1\FilterIwant.html</p>
  
  <p>Now I need to read this file into my application. I can't just hardcode it since when I give it to someone else they might put it on F: drive or something.</p>
  
  <p>Or when I create a msi file the path might be completely different. So how can I say maybe take</p>
  
  <p>"Folder1\FilterIwant.html"</p>
  
  <p>and use that to get the folder path regardless of where they put it?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I tried Path.GetFullPath but I land up in the bin/debug directory. But my file is not in that directory. I think it is a couple directories before. Also if I make a msi file will I have bin/debug directory? </p>