Swapping file names in the same folder C++
I had two set of files in the same folder may or may not be equal in
number. One set of files contains the word "rect" as a part of their names
and the other one contain "circle" in their names.
I need to rename all the files which contain "rect" with "circle" by
retaining the rest part of the file name and vice versa. What is the best
method to do this?
No comments:
Post a Comment