One file, multiple names

mark d

Distinguished
Apr 22, 2011
3
0
18,510
Hello, I have a folder with 100's of different images,is it possible to create a .bat file that will copy and rename a single image multiple times with the names of each file from the original folder??
Thanks.
 

David 617

Distinguished
Apr 12, 2011
242
0
18,710
not with batch, but you can do it with a vb script. sorry i dont know vb, but i know its possible.

it would be something like this,
create variables for each of the 100's pics names
copy the single image 100's of times
name each copy with a name from the original 100's
 

mark d

Distinguished
Apr 22, 2011
3
0
18,510
I'm basically creating themes for a UI and wish to use the same image for all the different buttons, tabs, menu backgrounds etc.
Ive been copy and pasting but i'm growing bored of that method, nothing foul being played :cool:
 



I'm glad to hear an honorable reason exist for such a thing. Look at your proposal from someone else's point of view and it was quite suspect.

Here's some things to make life easier...


Make directory file list

Look at bottom of page for free version

Rename from list

These two programs may be what you are looking for. Good luck.
 

mark d

Distinguished
Apr 22, 2011
3
0
18,510



Thank you,

I've managed to create a .bat file that will generate .txt file containing the names of all the files inside of folder "X".

RenList is one solution but it only renames 5 files per time, i need something that will rename them all (freeware). :)