Hi folks,

I'm trying to do the following. I have the following filenames in my folder:

BX0_FF3_AC1.SPL
BX1_FF43_AC2.SPL
BX3_FFFJ1_AC88.SPL
-------------------- etc.

What I want to do is simply rename all files that have string "_AC" inside to:

BG_STAT_$ORIGINALFILENAME, i.e.

files that I want to have in the folder should be:

BG_STAT_BX0_FF3_AC1.SPL
BG_STAT_BX1_FF43_AC2.SPL
BG_STAT_BX3_FFFJ1_AC88.SPL

When I try something like this:

SHELL "cmd /c ren *_AC* BG_STAT_*AC*" I get the first 8 symbols of the original filename replaced by "BG_STAT" ....
and this drives me mad