title: qmake's write_file() and system() doesn't want to make a file
body: <p>I've got a strange behavior of qmake while trying to write smth to another file. I read all possible manuals and searched out the internet but found nothing similiar. Closer to the simplest possible code:</p>
  
  <pre><code>!system(echo 1 &gt; d:\1.txt) {
    warning(Cant create a file)
  }
  </code></pre>
  
  <p>It doesn't create a file, and it doesn't show a warning, that means that operation succeded. Another example:</p>
  
  <pre><code>var = test string
  file = $$absolute_path(d:\1.txt)
  message(Variable: $$var and filename: $$file)
  !write_file($$pathBat, pathtowrite) {
    warning(Cant create a file)
  }
  </code></pre>
  
  <p>This block produces output:
  <code>Project MESSAGE: Variable: test string and filename: d:/1.txt</code></p>
  
  <p>And nothing is said about the fact the file has <em>not</em> been created.</p>
  
  <p>I've already checked the rights to write to the directory: everything seems fine.</p>
  
  <p>Can anybody help me with this?</p>
  
  <p><strong>UPD:</strong>
  I've found something else: <code>message($$system(echo 1 &gt; 1.txt))</code> works fine. And this is what makes me cry, because I really don't understand what is going on.</p>