<p><em>Without</em> redirection, <a href="https://stackoverflow.com/users/5423827/luc-vu">Luc Vu</a> or <a href="https://stackoverflow.com/users/2474955/erik-konstantopoulos">Erik Konstantopoulos</a> <a href="https://stackoverflow.com/a/34460123/6309">point</a> <a href="https://stackoverflow.com/a/32296375/6309">out</a> to:</p>
<pre><code class="lang-auto">copy NUL EMptyFile.txt
copy /b NUL EmptyFile.txt
</code></pre>
<p>“<a href="https://stackoverflow.com/q/210201/6309">How to create empty text file from a batch file?</a>” (2008) also points to:</p>
<pre><code class="lang-auto">type NUL > EmptyFile.txt
also
echo. 2>EmptyFile.txt
copy nul file.txt > nul # also in qid's answer below
REM. > empty.file
fsutil file createnew file.cmd 0 # to create a file on a mapped drive
</code></pre>
<p><a href="https://stackoverflow.com/users/3040932/nomad">Nomad</a> mentions <a href="https://stackoverflow.com/a/20237561/6309">an original one</a>:</p>
<pre><code class="lang-auto">C:\Users\VonC\prog\tests>aaaa > empty_file
'aaaa' is not recognized as an internal or external command, operable program or batch file.
C:\Users\VonC\prog\tests>dir
Folder C:\Users\VonC\prog\tests
27/11/2013 10:40 <REP> .
27/11/2013 10:40 <REP> ..
27/11/2013 10:40 0 empty_file
</code></pre>
<p>In the same spirit, <a href="https://stackoverflow.com/users/840405/samuel">Samuel</a> suggests <a href="https://stackoverflow.com/questions/1702762/how-to-create-an-empty-file-at-the-command-line-in-windows/43677896#comment74402568_1702790">in the comments</a>:</p>
<p>the shortest one I use is basically the one by Nomad:</p>
<pre><code class="lang-auto">.>out.txt
</code></pre>
<p>It does give an error:</p>
<pre><code class="lang-auto">'.' is not recognized as an internal or external command
</code></pre>
<p>But this error is on stderr. And <code>></code> only redirects stdout, where <em>nothing</em> have been produced.</p>
<p>Hence the creation of an <em>empty</em> file.</p>
<p>The error message can be disregarded here. Or, as in <a href="https://stackoverflow.com/users/5999372/rain">Rain</a>’s <a href="https://stackoverflow.com/a/64419773/6309">answer</a>, redirected to <code>NUL</code>:</p>
<pre><code class="lang-auto">.>out.txt 2>NUL
</code></pre>
<p>(Original answer, November 2009)</p>
<pre><code class="lang-auto">echo.>filename
</code></pre>
<p>(<code>echo ""</code> would actually put “” in the file! And <code>echo</code> without the ’</p>
<p><em>(Réponse tronquée)</em></p>