you can do this by using something called tinydir.h... What you'd need to do is create a string of what you want to find, and what you want to change it to (string find, replace; find = " feat"; replace = " ft."), then parse the dir with tinydir in a loop, throw the filename into a temp string, search the string for find and if found replace with replace ( if(temp.find(find) != string::npos = false){//code to determine what the position and length is, followed by code to replace that text with replace}, after doing that, you just copy the file, and write it with the new name via iostream, and then delete the old file.
This post was edited by Roger911 on Jan 5 2014 04:07pm