'Rename' command question

Here's a button I'm working on. I'm trying to rename all files from MVI* to img* then from *.THM to *.jpg. Anyone know what I'm not doing right?

[quote][DOpus.ButtonInfo]
Name=Rename Pics
Icon=84,9999999
Flags=6,0,0
Color=0,a0a0a0
Tooltip=Rename pictures copied from a Canon digital camera
Func1=Select ALLFILES
Func2=Rename CASE=lower TYPE=files FROM="MVI" TO="img" FINDREP
Func3=Select ALLFILES
Func4=Rename CASE=lower TYPE=files FROM="THM" TO="jpg" FINDREP
Func5=Select NONE[/quote]

Thanks.

Damien

Hi Damien, try something like this:

[DOpus.ButtonInfo]
Name=Rename Pics
Icon=84,9999999
Flags=6,0,0
Color=0,a0a0a0
Tooltip=Rename pictures copied from a Canon digital camera
Func1=Rename FROM MVI* PATTERN MVI* TO img* CASE=lower
Func2=Rename FROM *.THM PATTERN *.THM TO *.jpg CASE=lower