Link to home
Start Free TrialLog in
Avatar of scdavis
scdavis

asked on

XCOPY Syntax? Flatten Tree Structure.

Okay, all you old school DOS hackers, here's one that I've never thought about before..  

I've got a tree of files..  ie.  Folder1\Font1.ttf, Folder2\Font2.ttf

I want to "collapse" all the files in all those sub-folders into ONE folder.

IE, I end up with \FinalFolder\Font1.ttf and \FinalFolder\Font2.ttf.

I Canna figure any syntax (easily) to do that.

Suggestions are appreciated!

Thanks
-- Scott.

ASKER CERTIFIED SOLUTION
Avatar of billious
billious

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of billious
billious

...Of course, add "\*.ttf" to path\to\Folder to select files "*.ttf"

...Bill
Avatar of scdavis

ASKER

Thanks, Bill.

Worked like a charm.

Most of the syntax I'm familiar with ..  excluding the variable passing.

If you have time, please contact me via email direct (scott DOT davis AT beanfield.com).

I'm really curious where you learned those variable handlers.

certainly ain't in the dir /? "man page".

My Sincere thanks,

Scott.