title: How can I create an empty file at the command line in Windows?
body: <p>How can I create an empty file at the DOS/Windows command-line?</p>
  <p>I tried:</p>
  <pre><code>copy nul &gt; file.txt
  </code></pre>
  <p>But it always displays that a file was copied.</p>
  <p>Is there another method in the standard cmd?</p>
  <p>It should be a method that does not require the <a href="http://en.wikipedia.org/wiki/Touch_%28Unix%29" rel="noreferrer">touch</a> command from Cygwin or any other nonstandard commands.
  The command needs to run from a script, so keystrokes cannot be used.</p>