title: Xcopy does not copy all files
body: <p>I wrote a tool for our department that generates a protocol from an Atlassian Datasource.<br>
  Because in some cases the tool didn't worked when started from the company's netdrive, a colleague wrote the following batch file to simply copy the relevant files locally, which lead to a working program for all.  </p>
  
  <pre><code>mkdir C:\QuickProtocol\
  mkdir C:\QuickProtocol\Templates\
  mkdir C:\QuickProtocol\In\
  mkdir C:\QuickProtocol\Out\
  mkdir C:\QuickProtocol\Templates\Protokoll-Dateien\
  
  XCOPY \\*NetDrivePath*\QuickProtocol.exe  C:\QuickProtocol\ /y 
  XCOPY \\*NetDrivePath*\QuickProtocol.pdb  C:\QuickProtocol\ /d /y 
  XCOPY \\*NetDrivePath*\Languages.xml      C:\QuickProtocol\ /d /y 
  XCOPY \\*NetDrivePath*\PrimeCore.dll      C:\QuickProtocol\ /d /y 
  XCOPY \\*NetDrivePath*\Templates          C:\QuickProtocol\Templates\ /d /y /s 
  </code></pre>
  
  <p>But now a colleague that changed departments, but has still access to the files on the netdrive, tried the batch file again.<br>
  Strangely in his case, as well as in the case of some other colleagues who reported to him, the batch file only copy's the Templates Folder and creates the directories named above.<br>
  What could be the reason for this?</p>