Jump to content

Recommended Posts

Posted (edited)

Hi

Wondering if someone can help me

I have a bunch of zip files (roughly 200) each nestled in there own subfolders.

I want to move them all to the parent folder.

Is there a way to automate it using the built in windows xp command line tools?

I cant seem to see a way to recursively go through the directories and move the files one folder up.

I dont want to keep the directory structure, just want to move all the files into one folder. (parent folder)

I tried robocopy but it keeps the folder structure also :wacko:

Cheers.

Update:

Nevermind, found a solution. Searched the microsoft website and found out about the FOR command.

FOR /R C:\Directory %f IN (*.zip) DO move "%f" C:\Directory

Edited by cursive

Posted

A third way is to use the 'Search' function of explorer to find all .zip files in \Directory, and drag them from the 'Search Results' window to whereever you want.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...