Copy files that contains "CM" on the name. from fld1 to fld2

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
gustavo
Posts: 1
Joined: 28 Sep 2010 08:26

Copy files that contains "CM" on the name. from fld1 to fld2

#1 Post by gustavo » 28 Sep 2010 08:40

Hello,
I trying to make a bat to copy only the .xml files that contains "CM" on the name, from folder 1 to folder 2..

Someone can help me with this issue??

Thanks !!

!k
Expert
Posts: 378
Joined: 17 Oct 2009 08:30
Location: Russia

Re: Copy files that contains "CM" on the name. from fld1 to

#2 Post by !k » 28 Sep 2010 09:28

copy "folder 1\*cm*.xml" "folder 2"

Post Reply