Hi Folks
I want to add a text string to the end of a set of files in this manner:
BEFORE = "Filename.log"
AFTER = "Filename XP3.log
In other words add the text " XP3" to the end of the filename, leaving the extension unchanged.
I want to use the Rename facility with regular expressions type to do this. so far so good. I proceed as follows:
Old Name=b[/b]
New Name=\0 XP3.log
My results however as unexpected.
It seems the b[/b] pattern matches the entire filename with the effect that I get an extra ".log" text in the new name. I have tried a few variations like
Take off the outside parenthesis: Old Name=b.log[/b]
But no joy.
Any comments...?

http://img233.imageshack.us/img233/5798/renamewithregexp.jpg
