flatten file structure - TechRepublic
Question
February 19, 2009 at 05:31 PM
quaquita

flatten file structure

by quaquita . Updated 17 years, 4 months ago

I have a drive of files that I want to move to another drive but only take the directory above the file.

For example:
C:\Documents and Settings\my documents\text.txt would copy over to my new drive as f:\my documents\text.txt
and
C:\Documents and Settins\desktop\new folder\text2.txt wold copy over as new folder\text2.txt.

Is there a way to do this with a script so that I won’t have to click through multiple subdirectories to flatten my file structure?

Thanks in advance

This discussion is locked

All Comments