** Private ** wrote:
> I've been trying to figure out an xcopy or copy command that will take all
> the files from a given folder structure and copy them all to a new folder.
> 
> Tried xcopy e:*.* d:\thumbs\*.* /s
> 
> But it creates all the subdirectories on the CD. Can anyone think of a
> command switch that will place all the files in one directory?

FOR /D %%A IN (e:\*) DO copy %%A\* d:\thumbs\

Jochem


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:271425
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to