Moving files which are not selected (by pattern)?

Hi!

This may be a silly question, but I tried and failed to move files which where not selected into a subfolder.
They don't need to be selected, as I simpy want to move all "*.rw2" files into a subfolder called "raw" when hitting a button.

I did something like this(out of my brain):
@noquotes
@runonce
@filesonly
CreateFolder "{sourcepath}\raw"
COPY MOVE PATTERN="*.rw2" TO="{sourcepath}\raw"

It worked after inserting..
SELECT PATTERN="*.rw2"
..just before the copy command, but is there a way to avoid selecting those files first?!

Thanks!
Rob.

Use FILE=.rw2 instead of PATTERN=.rw2

(FILE overrides the selection while PATTERN filters the selection.)

Thanks Leo, this was helpful and did the trick!.. o)