Batch Rename wrong detecting base.

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
eil
Posts: 1929
Joined: 13 Jan 2011 19:44

Batch Rename wrong detecting base.

Post by eil »

while batch renaming several items with no extensions(even no dots at the end) and trying to add them new extension, noticed that if there are dots present inside base name, the extension is put inside name and not in the end. first thought i'm wrong with pattern, but tried all imaginable *? combinations to simply add new extension at the end and no luck.
Win 7 SP1 x64 100% 1366x768|1900x1080

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

Re: Batch Rename wrong detecting base.

Post by admin »

Can you give some examples?

eil
Posts: 1929
Joined: 13 Jan 2011 19:44

Re: Batch Rename wrong detecting base.

Post by eil »

trying to add .mp3 ext to files with no ext but dots in name.
To see the attached files, you need to log into the forum.
Win 7 SP1 x64 100% 1366x768|1900x1080

jupe
Posts: 3575
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Batch Rename wrong detecting base.

Post by jupe »

When trying to use a feature, referencing the available help information, even just the abridged information which is conveniently available in the dialog you are using, can be beneficial...

2020-02-22_154519.png
To see the attached files, you need to log into the forum.

eil
Posts: 1929
Joined: 13 Jan 2011 19:44

Re: Batch Rename wrong detecting base.

Post by eil »

@jupe hm.. i would never imagine a pattern like this, because while it works it looks illogical...
*.?.mp3 /e = original base(ok) + original extension(probably ok) + new extension(ok) + drop original extension(what?! i "kept original", then added new, and now dropping.. some extension) :shock: :eh:
still thanks for hint.
Win 7 SP1 x64 100% 1366x768|1900x1080

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

Re: Batch Rename wrong detecting base.

Post by admin »

It's not that illogical if you see that from POV of the app there is nothing like "a file with no extension but with dots in the name". Everything right of the last dot is the extension. So what you are trying to do here is to append one extension to another extension. Which is an exotic thing to do, so it should need an exotic pattern to solve it. All fine.

BTW, there is a much easier way via the Set Extension interface:
To see the attached files, you need to log into the forum.

Post Reply