Need Help w Batch Rename

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
MikeInThe901
Posts: 6
Joined: 24 Apr 2023 11:13

Need Help w Batch Rename

#1 Post by MikeInThe901 » 24 Apr 2023 11:24

Thousands of files in a folder w following 2 base names. Within each name all files are consecutively numbered, and some also have an 'a' or 'b' after the digits.

Smith_0001.jpg
Smith_0002.jpg
Smith_0002a.jpg
Smith_0003.jpg
Bill_1001.jpg
Bill_1001a.jpg
Bill_1002.jpg
Bill_1003.jpg
Bill_1003a.jpg

Can't I use the REN command w wild cards to change the filenames beginning w Bill, to end up with this:

Smith_0001.jpg
Smith_0002.jpg
Smith_0002a.jpg
Smith_0003.jpg
Smith_1001.jpg
Smith_1001a.jpg
Smith_1002.jpg
Smith_1003.jpg
Smith_1003a.jpg

Thanks!

Sponge Belly
Posts: 231
Joined: 01 Oct 2012 13:32
Location: Ireland
Contact:

Re: Need Help w Batch Rename

#2 Post by Sponge Belly » 27 Apr 2023 05:18

Hi Mike! :)

Please read the following posts:
Both written by the legendary Dave Benham.

HTH! 8)

- SB

Post Reply