Search This Blog

Wednesday, March 15, 2023

Super Super Duper Duper IMPORTANT!! - How to get files out of all subfolders and move them up to the first folder

OH!

MY!

GOSH!

I had no idea I was looking for this information until I found it. How to get files out of all subfolders and move them up to the first folder

This is the relevant information:


From How to Copy Files from Multiple Sub-Folders to a Single Folder?

Open a Command Prompt ('cmd.exe') window. Use the following commands:

cd /d "d:\vacation snaps\2016"

for /r %d in (*) do copy "%d" "d:\all snaps"

In the above example, the command recursively copies all files in the 'vacation snaps\2016' folder to the 'All Snaps' folder.


No comments: