complex file movement problem

S

someothernickname

How do I do the following?

I have a directory with about a thousand sub directories each
containing a font (ttf) along with information about the font. I want
to copy the .ttf files from each of these subdirectories into the
parent folder so I can use one of the font managers on the parent
folder without having to go into each subfolder to get the ttf file.

I'm thinking xcopy would do it, but I can't seem to work out what the
switches would be. Anyone up for the challenge of cmd script that
would do it?

TIA,

Brandon
 
D

Donald Lessau

someothernickname said:
How do I do the following?

I have a directory with about a thousand sub directories each
containing a font (ttf) along with information about the font. I want
to copy the .ttf files from each of these subdirectories into the
parent folder so I can use one of the font managers on the parent
folder without having to go into each subfolder to get the ttf file.

I'm thinking xcopy would do it, but I can't seem to work out what the
switches would be. Anyone up for the challenge of cmd script that
would do it?

Why use a script? Make two steps:
(1) do a recursive search (over your parent dir for *.ttf) that returns all
your TTFs
(2) select all and copy to your parent folder

That's how I'd do it in XP. Should work in Vista as well.

Don
 
S

someothernickname

Why use a script? Make two steps:
(1) do a recursive search (over your parent dir for *.ttf) that returns all
your TTFs
(2) select all and copy to your parent folder

That's how I'd do it in XP. Should work in Vista as well.

Don

BFO!! (blinding flash of the obvious)
As soon as I read your message I remembered doing exactly the same
thing on XP a couple years ago. Thanks for the rescue, :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top