Hi folks,
I have a bunch of .jpg files which reside in the same folder as my database. What i need to do is rename all of them at the click of a button. My database has a table with a column that lists all of their file names. What I want to do is add a column to the table that lists the new names, so that I have a column with the files current names and a column with the names that I want to re-name them to.
When I click the button i want it to apply the corresponding name from the new column to each jpg.
img1.jpg
img2.jpg
img3.jpg
img4.jpg
to
img1-121114-1F.jpg
img2-121114-2Z.jpg
img3-121114-6G.jpg
img4-121114-0L.jpg
How can this be done?
Any help mega appreciated.
I have a bunch of .jpg files which reside in the same folder as my database. What i need to do is rename all of them at the click of a button. My database has a table with a column that lists all of their file names. What I want to do is add a column to the table that lists the new names, so that I have a column with the files current names and a column with the names that I want to re-name them to.
When I click the button i want it to apply the corresponding name from the new column to each jpg.
img1.jpg
img2.jpg
img3.jpg
img4.jpg
to
img1-121114-1F.jpg
img2-121114-2Z.jpg
img3-121114-6G.jpg
img4-121114-0L.jpg
How can this be done?
Any help mega appreciated.