Can anyone tell me how to enumerate through all of the files in a directory and rename them. For example I have a directory with files such as 1.bmp, 10.bmp, 200.bmp. I want to rename the file respectively, DMS1.bmp, DMS10.bmp, DMS200.bmp.
I haven't worked much with file objects. Any help would be greatly appreciated.
I haven't worked much with file objects. Any help would be greatly appreciated.