In Windows 7, I have a directory of folders which each contain files as their contents. Is there any way to extract all of the contents of each the folders to a separate location other than cutting and pasting the content one folder at a time?
13.5k 19 19 gold badges 89 89 silver badges 118 118 bronze badges asked Dec 24, 2012 at 18:53 John Dream John Dream 567 1 1 gold badge 4 4 silver badges 11 11 bronze badges File Explorer way: youtu.be/okVMFq_9-8w?t=43 Commented Apr 10 at 10:15If you want to move the contents of a source directory and all of its sub-directories to a single destination directory (i.e. flatten the folder structure), it's very easy and you don't even need to bother with the command line.
Just go to the top-level source folder (whose contents you want to copy), and in the Windows Explorer search box type * (just a star or asterisk). This will display every file and sub-folder under the source folder. Now just sort by Type to group all files together, select them all, then cut/copy and paste in the destination dir.
If you have hidden and system files as well, under Organize → Folder and search options → View tab make sure Show hidden files. is selected, and Hide protected operating system files is unchecked.