Rename files in the folder

1 view (last 30 days)
I have files like B00001.im7 ..... B10000.im7 inside the particular folder, Here, I intend to replace 'B' by 'P'
for e.x. B00001.im7 to P00001.im7. Please suggest the way to do this..

Accepted Answer

Mario Malic
Mario Malic on 21 Sep 2020
Edited: Mario Malic on 21 Sep 2020
movefile 'B00001.im7' 'P00001.im7' % or supply full path to the files
Turbulence Analysis
Turbulence Analysis on 21 Sep 2020
Thanks a lot. It worked perfectly...

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!