View Single Post
  #13  
Old November 17th 13, 12:49 PM posted to microsoft.public.windowsxp.general,microsoft.public.windowsxp.help_and_support
Don Phillipson[_4_]
external usenet poster
 
Posts: 1,185
Default How to copy a lot of files?

"Rob" wrote in message
...

Another way:
You can also use XCOPY in a CMD window.
Enter XCOPY /? in a CMD window and read the results.
It's harder than using win search but you can make
an automated *.bat file to run it. You will figure it out.


This way only *.doc files are copied but with full path.
It is better than above but still it is not what I need.


You can use CMD (DOS) utilities in a two stage process:

1. Write to file all the target filenames (with full filepaths)
using FIND [parameters] OUTPUT.TXT
2. Copy as required using XCOPY, after first editing
OUTPUT.TXT to generate a BATch file with the
instructions you want.

As noted elsewhere, XXCOPY offers more opportunities
e.g. to make necessary subdirectories during the
copy process.
--
Don Phillipson
Carlsbad Springs
(Ottawa, Canada)



Ads