Search found 1 match
- 17 Dec 2016 14:28
- Forum: DOS Batch Forum
- Topic: Help with copying all .pdf and .docx files on all of the computer's drives to a single directory
- Replies: 1
- Views: 1760
Help with copying all .pdf and .docx files on all of the computer's drives to a single directory
I'm trying to copy all .pdf and .docx files on all drives to a single directory. Preferably retaining the original folder structures. This is what I currently have: set dst=(DESTINATION DIRECTORY) for /f "tokens=2 delims==" %%d in ('wmic logicaldisk get name /format:value') do ( xcopy /C /...