title: Create file command in batch files (*.bat)
body: <p>I want to create a file named "new text document.txt" in the folder <code>%tv%</code> using a batch file ( <code>*.bat</code>). This is my batch file:</p>
  
  <pre><code>set tv=D:\prog\arpack96\ARPACK\SRC
  cd "%tv%"
  @CON &gt;&gt; "new text document.txt"
  set tv=
  </code></pre>
  
  <p>Although I can really create the file in <code>%tv%</code>, but when I run the above batch file, I will get an error message saying</p>
  
  <blockquote>
    <p>' ' is not recognized as an internal
    or external command, operable program
    or batch file.</p>
  </blockquote>
  
  <p>Is there anyway to get rid of this error message? Or I am creating the file using the wrong command?</p>