title: how do i use the relative path to the scripts folder in my asp .net / c# project code?
body: <p>this question should be relatively simple and shouldnt even require much explanation i dont think, here goes:</p>
  
  <p>my website is executing a batch file using the Process object which requires a path to the .bat file of course</p>
  
  <p>i will be housing my site on multiple servers therefore i dont want to give an absolute path i want to just use a relative path within my project (for example use the scripts folder automatically generated by visual studio when i made my project)</p>
  
  <p>i just am not sure exactly how to reference that file within the code once its in the scripts folder.</p>
  
  <p>here is my current code for referencing my .bat:</p>
  
  <pre><code>p.StartInfo.WorkingDirectory = "C:\\Users\\e\\Desktop\\Test_Bat_Thing";
  p.StartInfo.FileName = "C:\\Users\\e\\Desktop\\Test_Bat_Thing\\test.bat";
  </code></pre>
  
  <p>which works perfectly. but i want it to be something along the lines of</p>
  
  <pre><code>p.StartInfo.WorkingDirectory = ".\\scripts";
  p.StartInfo.FileName = ".\\scripts\\test.bat";
  </code></pre>
  
  <p>please help! thanks in advance :)</p>