How to copy files from all subfolders to a single folder?
How to copy files from all subfolders to a single folder?
- Open a Command Prompt window.
- Run the following commands, one by one and press ENTER after each line
md "d:\all snaps" cd /d "d:\your source folder" for /r %d in (*) do copy "%d" "d:\your destination folder\"
If a file of the same name exists in the destination, you’ll be asked if you want to overwrite or skip the file.
留言
張貼留言