I am trying to batch rename several files that are named using the following scheme: picture.scn_xxx.png.
- The placeholder
xxxa numerical value ranging from00000001to
(possibly)99999999. - I would like to remove
.scnto just havepicturexxx.png.
I’ve tried the following in command:
ren picture.scn_*.png image*.png
However, this does not give me the desired result, I get image.scn_xxx.png instead. The .scn isn’t removed( I was hoping to get imagexxx.png)
If used in a batch file then
%Aand%Bmust change to%%Aand%%B