title: SAS external file relative paths for Enterprise Guide
body: <p>I have a SVN structure for my SAS project.</p>
  
  <pre><code>\trunk
    \my sas code
    ... sas programs.sas
    \my external resources
    ... my_spreadsheet.xls
  
    my_sas_eg.egp
  </code></pre>
  
  <p>I have enabled relative path in Enterprise Guide and things are working well with the SVN.
  I'm now trying to integrate the my_spreadsheet.xls file</p>
  
  <p>When doing my proc import, I want to use the relative path to my xls, so I do</p>
  
  <pre><code>datafile=".\resources\gmax_pricing_xref_tables.xls"
  </code></pre>
  
  <p>Unfortunately, it doesn't get redirect to where the EG folder is, but to:</p>
  
  <pre><code>C:\Windows\system32\
  </code></pre>
  
  <p>I am basing my assumptions out of:
  <a href="http://support.sas.com/kb/12/002.html" rel="nofollow noreferrer">http://support.sas.com/kb/12/002.html</a></p>
  
  <p>I am doing things wrong obviously, how do I get the path of where the EG file sits?</p>