Bulk renaming files renames extensions incorrectly

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Snazhound
Posts: 5
Joined: 28 Feb 2021 06:02

Bulk renaming files renames extensions incorrectly

Post by Snazhound »

When I select a file pattern to rename, for example "Folder.jpg" and rename it with the pattern "Front.jpg", I end up with all of my selected files "Front.jpg.jpg".

To rename it, I have to undo which works, or if I rename it again the bulk selection method, I have to rename "Front.jpg.jpg" to "Front", which gives me "Front.jpg" as the final result.

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Bulk renaming files renames extensions incorrectly

Post by highend »

There is no bug here.
If you use batch rename you leave out the extension and if you really want to change it you'll use the /e switch

Code: Select all

"Folder.jpg" | Pattern: "Front" | Result: "Front.jpg"
"Folder.jpg" | Pattern: "Front.jpg" | Result: "Front.jpg.jpg"
"Folder.jpg" | Pattern: "Front.jpg /e" | Result: "Front.jpg"
"Folder.jpg" | Pattern: "Front.png /e" | Result: "Front.png"
One of my scripts helped you out? Please donate via Paypal

Post Reply