title: clojure how to know the path of a folder / file / directory in one project?
body: <p>Assume there is two files inside my clojure project, one clj and the other is txt. 
  Is there a way to know the path (as a string) of the txt file from the clj file?</p>
  
  <p>There is:</p>
  
  <pre><code>(System/getProperty "user.dir") 
  </code></pre>
  
  <p>or </p>
  
  <pre><code>(-&gt; (java.io.File. ".") .getAbsolutePath)
  </code></pre>
  
  <p>But this gives where the current directory. The one that includes the clj file, the one the code is written in.
  But how to know the path of the txt file? 
  The purpose is to write into this txt file from the clj file.</p>
  
  <p>Thank you.</p>