Rename Special | Batch Rename: skip extensions always?!

Features wanted...
Post Reply
admin
Site Admin
Posts: 66294
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Rename Special | Batch Rename: skip extensions always?!

Post by admin »

Does anybody use Rename Special | Batch Rename to change extensions?? I doubt it. Anyway, the dialog says "The original file extensions are preserved if the pattern contains no extension." This is true, but the common sense (logically incorrect but...) inversion of it "Extensions are changed if the pattern contains an extension" is not true as I found out today by a coincidence. So the function is buggy.

Now I thought about it and came to the conclusion that the function should make a clearer statement about extensions (as the other rename functions already do!). And it should be: "The original file extensions remain unchanged." Period. This allows you to enter patterns containing a dot without having to fear that you lose your extensions.

Okay?

:mrgreen: I'm prepared for objections! If a voice pro extension changing is raised, I will strike back with a /e-switch!

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

Actually there's some confusion on what Set Extension should really do as well, which we were discussing recently:
http://www.xyplorer.com/xyfc/viewtopic.php?t=2112

I'd say make the change and go ahead and pre-counter attack with the optional switch.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Rename Special | Batch Rename: skip extensions always?!

Post by jacky »

admin wrote:Does anybody use Rename Special | Batch Rename to change extensions?? I doubt it.
Well, you know what... I think I do. :roll:

Most of the times I don't think I do, but on occasion here's the kind of thing I find myself doing : I create a new empty text file, then copy it a bunch of times in the current folder, then with a Batch Rename I rename those files, extension included.

I could also imagine a case where I'd have a bunch of pictures, and want to make sure they all got renamed as "Something.<#01>.jpg" (so the .JPG, .Jpg and other .jpeg got all "fixed")

So I'm pro swicth I think. ;)
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66294
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

TheQwerty wrote:Actually there's some confusion on what Set Extension should really do as well, which we were discussing recently:
http://www.xyplorer.com/xyfc/viewtopic.php?t=2112
Yes, I followed the discussion. But had nothing good to say. It's impossible to solve without help of a brain. But the problem is not so painful I'd say. One can live with it.

Post Reply