title: Paths to do-file in Stata
body: <p>Would it be possible, when I launch a do-file to recover the path of the do-file as a variable?</p>
  
  <p>I'm sharing a project with a co-author (via Dropbox). The structure of the folders (data, logs, etc.) is therefore the same on both sides.</p>
  
  <p>But the folders are situated differented on my coauthor's filesystem and mine. It would therefore be helpful for us to write do-file that are agnostic about the path of the folders, etc.</p>
  
  <p>We would like the path to our projects not to be hard-coded.</p>
  
  <p>Thank you!</p>