Page 1 of 1

Rename Special | Batch Rename: skip extensions always?!

Posted: 28 Jan 2008 20:02
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!

Posted: 28 Jan 2008 20:11
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.

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

Posted: 28 Jan 2008 20:20
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. ;)

Posted: 28 Jan 2008 20:21
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.