-Multi-file Rename - "Respect case" doesn't work

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
jkauff
Junior Member
Junior Member
Posts: 22
Joined: 2004-03-11, 14:06 UTC

-Multi-file Rename - "Respect case" doesn't work

Post by *jkauff »

I'm using B3. When I was renaming a series of files today, I was unable to change a lowercase "e" to an uppercase "E". The "Respect case" checkbox doesn't seem to be working.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6975
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Works fine for me in TC 8.51b3 x64.
Only the lowercase e was changed, all others chars untouched.
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

And for me too. No problem here. TC 8.51b3 x86/x64
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

jkauff,
Please provide exact rename parameters (name template, case combobox choice) and sample filename.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

jkauff,
Where are the rename files located?
#5767 Personal license
jkauff
Junior Member
Junior Member
Posts: 22
Joined: 2004-03-11, 14:06 UTC

Post by *jkauff »

Files were episodes of a TV show. Sample filename was "showname s03e01.mkv", etc. I was changing them to "Showname S03E01.mkv"--simple case change. I first applied "First of each word uppercase", then tried to replace "3e" with "3E". The replace didn't work.

Ah, I just occurred to me that I didn't do these as two separate operations, I attempted to do them in one operation. Maybe they conflict.
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

You just leave "First of each word uppercase" selected and working after search & replace. Change to "Unchanged".
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

The reason may be that files have been in use (opened in some application), especially in exclusive access mode.

For example, if you try to rename a Windows swap file (for example C:\pagefile.sys) to some other name (let's say C:\pagefile.BIN), the operation fails. But when you try to change the case only (for example to C:\pagefile.SYS), operating system returns success, but the name won't be changed.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Gral wrote:You just leave "First of each word uppercase" selected and working after search & replace. Change to "Unchanged".
Yeah, that is a most probable reason why replace didn't work: capital 'E' was then changed to lowercase one by case modificator.
MarcinW wrote:The reason may be that files have been in use (opened in some application), especially in exclusive access mode.
In such case files wouldn't be renamed at all, and TC would show an error message. However in our case only part of a name have been renamed while other part of same name haven't.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The option "First of each word uppercase" is applied AFTER the name/ext field, and after the Search+Replace operation.
Author of Total Commander
https://www.ghisler.com
Post Reply