Need help with moving files

I have the following situation

I want to move to [some drive:\music] some files. All the files I want to move match the match the wildcard of ???.m??. The problem is the folder structure is

[another drive:\random char\more random(bunch of files)

I tried using xcopy and it ended up copying the files but also copied the directory structure which I don’t want. I just want all the files to end up in [some drive:\music]
any suggestions?

Use xxcopy for all your non-trivial file copying needs. Note the “inclusion” switch in the features list.

Great just what I needed. This will be a great tool for my future use as well