I got a huge list of images in a folder (3000 images). Now I want to add a prefix to all these image names. The prefix for each image is different and the prefix is obtained from a text file.
My text file looks like this
mango,A.jpg
apple,B.jpg
orange,c.jpg
and i want to change image names fromA.jpg,B.jpg,C.jpg to:
mango_A.jpg
apple_B.jpg
orange_C.jpg
Could any one tell me how this can be done using a windows batch file?