title: How to set relative paths in app.config file?
body: <p>I am working on a project in which I have many text and xml files. I read those from my program at runtime. </p>
  
  <p>I have kept paths to those files in app.config file, but all the paths are absolute paths like "C:\my_project\help_files\rejectList.txt" . </p>
  
  <p>If I keep only "\help_files\rejectList.txt" path, program throws filenotfound exception. </p>
  
  <pre><code>Can anyone please tell me how to set relative paths in C# applications? 
  </code></pre>
  
  <p>I would like to set something like "$root\help_files\rejectList.txt" and at runtime $root should resolve to actual path. </p>
  
  <pre><code>Is there any way in .net to set paths like this?
  </code></pre>
  
  <p>Also, I have one more question. I have some dll's also that are needed for my project. Where do people usually keep dll's? In same folder as that of the exe file or should we create one folder called "lib" and put dll's there? </p>
  
  <p>Thanks and Regards,
  Shekhar</p>