when i select a folder then i need to change all the .jpg files in a particular criteria
eg;
path=E:/Myfolder/KL21B/
file names are
2sdfs35.jpg
1.jpg
sder3.jpg
35sder4.jpg

for these file rename as

KL21B-A = 1.jpg
KL21B-B = 2sdfs35.jpg
KL21B-C = sder3.jpg
KL21B-D = 35sder4.jpg

continue sequencies(A,B,C,D,E,F,G,H.......)

rememberable thing is 1.jpg must be the first picture (KL21B-A).

can i create a macro for that??