title: How do I change directory in command line with Clojure?
body: <p>What I'm looking for is this kind of command line interaction at the Windows command line:</p>
  
  <pre><code>C:\temp1&gt;clj some_script.clj
  C:\temp2&gt;
  </code></pre>
  
  <p>Where some_script.clj contains something like:</p>
  
  <pre><code>(cd "c:\\temp2")
  </code></pre>
  
  <p>So the question is - how do I implement the function cd? Have experimented with clojure.java.shell, but it does not look like the lib I need. This might be a simple question, the problem might be that I'm not fluent in Java?!</p>