title: Copying a file in multiple folders using Batch file
body: <p>I have a PDF <code>.COMInterop and C# Notes - Notes 1 to 10.pdf</code> kept in the directory <code>D:\Dropbox\Sample C# Notes</code></p>
  
  <p>The folder <code>Sample C# Notes</code> also has some subfolders like 0001, 0002, 0003 and so on till 0100.</p>
  
  <p>I am writing the following command in a batch file to copy the pdf from <code>Sample C# Notes</code> to all the subfolders inside it (0001, 0002, 0003...)</p>
  
  <pre><code>for /D %%x in (D:\Dropbox\Sample C# Notes\*.*) 
  DO COPY D:\Dropbox\Sample C# Notes\.COMInterop and C# Notes - Notes 1 to 10.pdf %%x\.COMInterop and C# Notes - Notes 1 to 10.pdf
  </code></pre>
  
  <p>But it gives an error saying The system cannot find the file specified. Where am I going wrong?</p>