Copy Files From Subfolders To Single Folder

Here is an example of how to copy or move the files from a single folder including sub-folders to a single folder using XCOPY DOS command.

DOS command used: XCOPY

XCOPY K:\*.sql C:\SQLScripts /s /i
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License