Easiest way to extract the contents of many folders at once?

All we need is an easy explanation of the problem, so here it is.

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?

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

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 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.

Method 2

You can use Windows Command Prompt for running a command:

move C:\path\to\folder\*\* C:\path\to\folder\

I am not 100% certain about dashes, but \ or / should definetely work. The above command will move all files from all folders in C:\path\to\folder to C:\path\to\folder.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply