Replacing a Portion of a Filename?
I have a folder of 116 files, each named: "filename_001.wav," "filename_002.wav" etc. I need to change the names of these files, but only by replacing the "filename" with a different term, such as "newterm." So that the original "filename_001.wav" would be renamed "newterm_001.wav".
The task I tried to write only affects one file and instead of replacing "filename" with "newterm" it changes the file name to "filenamenewterm_001.wav"
Can anyone help me with this? Thanks. Below is the task I wrote.
|