For example, Command Prompt commands let you copy data to a different folder, format an entire disk, back up your files, send messages to other computers, restart your computer, a ...
cd /d "SubFolderpath" Finally, run this command to copy all the files in the subfolders to a main folder. Replace MainFolderPath with the destination folder’s path. for /r %d in (*) do copy ...