I need to copy a set of DLL and PDB files from a set of folders recursively into another folder. I don\'t want to recreate the folder hierarchy in the target folder. I wan
mkdir targetDir for /r %x in (*.dll, *pdb) do copy "%x" targetDir\
Use /Y at the end of the above command if you are copying multiple files and don't want to keep answering "Yes".