<p>This lists all the files (and only the files) in the current directory and its subdirectories recursively:</p>
<pre><code class="lang-auto">for /r %i in (*) do echo %i
</code></pre>
<p>Also if you run that command in a fichier batch vous devez double the % signs.</p>
<pre><code class="lang-auto">for /r %%i in (*) do echo %%i
</code></pre>
<p>(thanks <span class="mention">@agnul</span>)</p>