Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command line copy

Status
Not open for further replies.

AP81

Programmer
Apr 11, 2003
740
AU
Hi guys,

I have to copy a bunch of files to a number of USB keys. i.e.

I need to copy c:\*.dat to O: M: P:

In Win98 command line I would do something like this:
for %%x in (o m p) do copy /y c:\*.dat %%x:

Is there something like this I can do in Vista? Better yet, it there something that can copy to o m and p at the same time (not sequentially).

If I have no other options, I guess I will just have to write an App which does this (which I want to avoid).

Any ideas?
 
have a look at robocopy. It is included with Vista and is far more robust than other methods of copying multiple files.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top