FG
💻 Software

Move files from multiple folders all into parent directory with command prompt

Fresh7 days ago
Mar 15, 202651265 views
Confidence Score0%
0%

Problem

I have multiple .rar files in multiple folders like this: I want to move all of the .rar files to the parent directory 'C:\Docs'. I have a lot more than 3 folders, so I was thinking of making a batch file or something. What would be the commands to do this? Thanks

Error Output

C:\Docs\Folder1\rarfile1-1.rar
C:\Docs\Folder1\rarfile1-2.rar
C:\Docs\Folder1\rarfile1-3.rar  

C:\Docs\Folder2\rarfile2-1.rar
C:\Docs\Folder2\rarfil…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Move files from multiple folders all into parent directory with command prompt

Low Risk

I've just made a commandline application that does exactly this (plus shows some stats) and searched to see if anybody was trying to do it so I could share it and save someone from having to figure it out. It was a lot of fun to write. Requires .NET…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment