Change case of file's NAME in Explorer

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 11518
Joined: 24 Jan 2010, 23:23
Location: paused.undefined.exposed

Change case of file's NAME in Explorer

Post by ChrisGreaves »

forum?
I'm posting here because the problem is evident in Win10; I would swear that this happened in the past in earlier versions, so perhaps "Windows General"?

I have saved a file and named it "CH03 The beowulf manuscript". Note the mistake: I should have used an upper-case "B" in that name.

I use <F2> to edit the name, Ctrl-LeftArrow, then delete the "b" and replace it with "B".
Tap <Enter> and we're done. Not.
The name stubbornly refuses to change case; it remains/reverts at/to "b"eowolf.

My workaround is to edit the name, replace "b" with z, <Enter>, then re-edit the name replacing "z" with "B".

I know that (from DOS days) filenames are treated as case-sensitive, but I can't understand why Windows, with its new-fangled names greater than 8.3, won't allow me to make use of both cases when changing a file name.
After all, why should Windows care? :scratch:

Cheers
Chris
We hate change, but love variety.

User avatar
HansV
Administrator
Posts: 69458
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Change case of file's NAME in Explorer

Post by HansV »

If you search the internet, you'll find similar complaints from long before Windows 10 appeared. The 'trick' you use is recommended, as well as prefixing the file name with a dummy character such as ~, and next time apply the case change and remove the ~.

But... when I try this (in Windows 10 Home version 2004), the change sticks.

S3531.png

And I found a tip from 2012: How to Force Your Windows File and Folder Names to Have the Case You Want.
I checked the registry on my PC. The DontPrettyPath value is set to 0... :scratch:

S3532.png
You do not have the required permissions to view the files attached to this post.
Regards,
Hans

User avatar
BobH
UraniumLounger
Posts: 7974
Joined: 13 Feb 2010, 01:27
Location: Temple - Deep in the Heart of Texas

Re: Change case of file's NAME in Explorer

Post by BobH »

I think that is Chris' problem - DontPrettyPath is zero!
Regards, BobH
Story of my life: I knew better but did it anyway!
Intel Core i5, 3570K, 3.40 GHz, 16 GB RAM, ECS Z77 H2-A3 Mobo, Windows 7 >HPE 64-bit, MS Office 2016

User avatar
HansV
Administrator
Posts: 69458
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Change case of file's NAME in Explorer

Post by HansV »

It's 0 on my PC and I can change the case in filenames!
But Chris can try setting it to 1 and see if it makes a difference...
Regards,
Hans

JoeP
BronzeLounger
Posts: 1584
Joined: 25 Jan 2010, 02:12

Re: Change case of file's NAME in Explorer

Post by JoeP »

On my system with the latest Win10 Pro Insider Build (20215) the case sticks when I change a name. My registry setting is the same as Hans.
Joe

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 11518
Joined: 24 Jan 2010, 23:23
Location: paused.undefined.exposed

Re: Change case of file's NAME in Explorer

Post by ChrisGreaves »

HansV wrote:
19 Sep 2020, 19:11
It's 0 on my PC and I can change the case in filenames! But Chris can try setting it to 1 and see if it makes a difference...
I offer my apologies for the delay in responding.
Untitled.png
I changed the registry setting to "1", closed regEdit and tried to rename "New folder" to be "new folder". The change (<F2> edit) didn't stick.
Then I rebooted, checked the registry key again - it is set to "1", and tried to rename "New folder" to be "new folder". The change (<F2> edit) STILL didn't stick.
This is not a critical issue. It may go away when get an update. Or it may not.

If I have understood this, both Hans and JoeP have the key set to "0" (as did I until a half hour ago), and yet they can change the case of a filename.
I had it set to "0", have it set to "1", and still cannot change the case of a filename (or folder).
:scratch: :scratch: :scratch:
Cheers
Chris
You do not have the required permissions to view the files attached to this post.
We hate change, but love variety.

User avatar
StuartR
Administrator
Posts: 11060
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: Change case of file's NAME in Explorer

Post by StuartR »

I have the same as Hans. DontPrettyPath is 0, but I can change the case of a filename without needing to add or remove characters.

This is a recent change, maybe with one of the Windows updates that has gone in this year. It didn't used to do this.
StuartR


User avatar
ChrisGreaves
PlutoniumLounger
Posts: 11518
Joined: 24 Jan 2010, 23:23
Location: paused.undefined.exposed

Re: Change case of file's NAME in Explorer

Post by ChrisGreaves »

StuartR wrote:
16 Oct 2020, 10:55
This is a recent change, maybe with one of the Windows updates that has gone in this year. It didn't used to do this.
Hmmm :scratch:

I *think* I am reasonably up to date.
Untitled.png
Stuart, if you think it worth it i shall try to trigger an update tonight before I go to bed.
Cheers
chris
You do not have the required permissions to view the files attached to this post.
We hate change, but love variety.

User avatar
StuartR
Administrator
Posts: 11060
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: Change case of file's NAME in Explorer

Post by StuartR »

ChrisGreaves wrote:
16 Oct 2020, 11:10
Stuart, if you think it worth it i shall try to trigger an update tonight before I go to bed.
It might be worth trying
StuartR