Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

saving multiple files through xcopy

i want to copy multiple files at once through xcopy. is it possible. i mean something like:
xcopy file1+file2+file3 destinationfolder
any help is appreciated :)

like image 825
sushant Avatar asked Apr 08 '10 06:04

sushant


1 Answers

I used the following for copying hundreds of files and filtering them by file extension. Below I am saying give me all files with the file extension .dll, .exe, or .pdf

for %f in (dll,exe,pdf) do xcopy /s /i C:\source\*.%f C:\destination
like image 127
D1v3 Avatar answered Sep 22 '22 22:09

D1v3