Copy files from subdirectories into a single directory

[technical post: if you want church stuff, please wait on the other platform, they’ll be one of those arriving shortly

You might have lots of files or photos stored in subdirectories (subfolders) and need to put them in a single directory (folder).

root

directory1

file1

file2

directory2

file3

file4  etc.

This is the magic spell you need to move all the files into that single directory:

Go to the root of the directories and type:

   for /r %d in (*) do copy "%d" "..\NewFolder"

This will create a NewFolder above the root and put all the files in them.