Windows xcopy 0 File(s) copied
<p>I am trying to copy a directory but get the following:</p>

<pre><code>xcopy ..\node_modules\ \node_modules\ 
</code></pre>

<blockquote>
  <p>0 File(s) copied</p>
</blockquote>

<p>I run as administrator, but still get the error. Any ideas please?</p>

<p>p.s I actually use the following to stipulate it's a directory. But the above also fails:</p>

<pre><code>echo d | xcopy /d /y ..\node_modules\ \node_modules\
</code></pre>

<p>Thanks</p>

<p><a href="https://i.stack.imgur.com/bqyKS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bqyKS.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/4JIuw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4JIuw.png" alt="enter image description here"></a></p>