Jump to content

noobish question


cursive

Recommended Posts

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
Link to comment
Share on other sites


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...