In windows 7 i have a directory of folders which each contain the contents of the files How do you extract the contents from each folder other than cutting and pasting the contents one folder at a time?

Best Answer


If 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 list all files and subfolders 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.