Loop through folder and rename files

December 21, 2010 at 05:35:53
Specs: Windows XP
Hello. I need a batch script for windows to loop through a folder of 5,000 files and rename all of them to the names listed in a .txt file. Can anyone give me some help here please?

Thanks!


See More: Loop through folder and rename files

Report •


#1
December 21, 2010 at 10:50:20
What do the files look like? What does your list look like?

We aren't psychic.

Can I put a question here?


Report •

#2
December 21, 2010 at 12:16:54
The files are all images with plain text names such as JohnDoe.tif

The text file has a list of 7-digit numbers (no extension) that I need use to rename the files while keeping the .tif extension. So I would like to get JohnDoe.tif to be 1234567.tif and do this for all 5,000 files in the directory.

Thanks


Report •
Related Solutions


Ask Question