title: How can I change the value of $ProjectFileDir$ in IntelliJ IDEA 13?
body: <p>I've added an item to my Tools menu using the XML below that runs custom actions for my project. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;toolSet name="My Project Utilities"&gt;
      &lt;tool name="test" showInMainMenu="true" showInEditor="true" showInProject="true" showInSearchPopup="true" disabled="false" useConsole="true" showConsoleOnStdOut="false" showConsoleOnStdErr="false" synchronizeAfterRun="false"&gt;
          &lt;exec&gt;
              &lt;option name="COMMAND" value="C:\path\to\ant.bat" /&gt;
              &lt;option name="PARAMETERS" value="my_task -Dmodule.dir=$ProjectFileDir$\my.module" /&gt;
              &lt;option name="WORKING_DIRECTORY" value="$ProjectFileDir$/my.working.dir/foo" /&gt;
          &lt;/exec&gt;
      &lt;/tool&gt;
  &lt;/toolSet&gt;
  </code></pre>
  
  <p>When I try to run this task, I get this error:</p>
  
  <pre><code>Error running test:
  Cannot start process, the working directory C:\projects\something\my.working.dir\foo does not exist
  </code></pre>
  
  <p>The problem is <code>$ProjectFileDir$</code> points to the wrong directory, <code>C:\projects\something</code>, and I need it to point to <code>C:\projects</code>. Is there a way to change the value of <code>$ProjectFileDir</code> without modifying the value of <code>WORKING_DIRECTORY</code> in my XML?</p>