title: copy file to multiple subdirectories in same directory
body: <p>Expanding upon this example: <a href="https://stackoverflow.com/questions/30271432/copying-a-file-to-multiple-folders-in-the-same-directory">Copying a file to multiple folders in the same directory</a></p>
  
  <p>I want to copy all file .txt from <code>C:\Newfolder\</code> to folder <code>C:\Output\*\rack\*\cloth</code></p>
  
  <p>example for destination folder:</p>
  
  <pre><code>C:\Output\name1\rack\nick1\cloth
  C:\Output\name2\rack\nick2\cloth
  .
  .
  C:\Output\name100\rack\nick100\cloth
  </code></pre>
  
  <p>so I have tried this:</p>
  
  <pre><code>FOR /D %%1 IN (C:\Output\*) DO (
      IF EXIST "%%1\rack" (
          COPY /Y C:\Newfolder\*.txt "%%1\rack\*\cloth"
      )
  )
  </code></pre>
  
  <p>the problem all txt file doesn't copied to destination folder</p>