I have 6 CDs with PDF files inside a lot of folders (Like Prep1, Prep2... and so on.)
I need to copy all the PDF files inside folders to my C:\ and then burn them all.
Is there a command in cmd Prompt that I can do that quick and flawlessly?
I have 6 CDs with PDF files inside a lot of folders (Like Prep1, Prep2... and so on.)
I need to copy all the PDF files inside folders to my C:\ and then burn them all.
Is there a command in cmd Prompt that I can do that quick and flawlessly?
To loop through all folders and subfolders on drive D: and copy .pdf
files to C:\myfolder without subdirectories try this:
C:\>for /R D:\ %G IN (*.pdf) DO xcopy "%G" C:\myfolder\
To replace existing files without a confirmation prompt use XCOPY /Y
C:\>for /R D:\ %G IN (*.pdf) DO xcopy /Y "%G" C:\myfolder\