title: How to move all files with specific extension from all subdirectories to their parent using CMD?
body: <p>Folder <code>c:\folder1</code> contains <code>subfolder1</code>, <code>subfolder2</code>, etc..</p>
  
  <p>These subdirectories hold <code>.pdf</code> and <code>.db</code> files. </p>
  
  <p>How can all the <code>.pdf</code> files be moved to <code>c:\folder1</code> using the Windows command interpreter?</p>