Batch script to rename text files to match image files names.
Posted: 14 Jun 2021 15:06
I have a folder that contains countless image files. ( jpg, and psd), and one text file "Placehold.txt" ( this text file contains specific instructions inside)
I'm in need of a batch script that will duplicate the Placehold.txt file and rename it to match all image files within this folder. Z:\Images\Converted\
An example of a before and after would look like this:
Cat_001.00_R R.jpg
Dog 3_04 25.00.A.jpg
House_23.00_A DD.psd
Cat_001.00_R R.txt
Dog 3_04 25.00.A.txt
House_23.00_A DD.txt
** each new text file are a copy of the original "Placehold.txt" file
Thanks for any help!
I'm in need of a batch script that will duplicate the Placehold.txt file and rename it to match all image files within this folder. Z:\Images\Converted\
An example of a before and after would look like this:
Cat_001.00_R R.jpg
Dog 3_04 25.00.A.jpg
House_23.00_A DD.psd
Cat_001.00_R R.txt
Dog 3_04 25.00.A.txt
House_23.00_A DD.txt
** each new text file are a copy of the original "Placehold.txt" file
Thanks for any help!