Background:
I'm currently working with scanning images on to tif-files. The only problem is that once I've finished scanning a book, I need to rename each file with the ending "_001". This due to the software which will be processing these images afterwards.
So I thought I might make a c++ program which does this for me since I could save ten minutes on this.
So the basic problem is :
I've already managed to read each file name into a string and there I can manipulate it, but how do I rename the current file with this new filename ?
Any help greatly appreciated !
I'm currently working with scanning images on to tif-files. The only problem is that once I've finished scanning a book, I need to rename each file with the ending "_001". This due to the software which will be processing these images afterwards.
So I thought I might make a c++ program which does this for me since I could save ten minutes on this.
So the basic problem is :
I've already managed to read each file name into a string and there I can manipulate it, but how do I rename the current file with this new filename ?
Any help greatly appreciated !