I found a regression when trying to rename folders.
I have a folder called:
"E:\Development\Dms v6.0.1 Head"
I wanted to rename it to:
"Dms v6.0.1 head"
But, I get this error message:
It does work correctly when you rename a file. Only renaming a folder has this bug.
Cannot rename folder (case sensitivity)
-
- Posts: 222
- Joined: 10 Jun 2008 15:40
- Location: Netherlands
Cannot rename folder (case sensitivity)
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
Re: Cannot rename folder (case sensitivity)
A regression? If so, in which version did this work correctly?
Does it work when using Windows Explorer?
Does it work when using Windows Explorer?
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 222
- Joined: 10 Jun 2008 15:40
- Location: Netherlands
Re: Cannot rename folder (case sensitivity)
1. I'm sorry, I assumed it was a regression because surely I would have noticed this before. I very regularly change the case on a folder.
2. Yes, it works in Windows Explorer.
2. Yes, it works in Windows Explorer.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
-
- Site Admin
- Posts: 60598
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Cannot rename folder (case sensitivity)
Can't reproduce. How exactly are you trying to rename the folder?
FAQ | XY News RSS | XY Twitter
Re: Cannot rename folder (case sensitivity)
This happened to me recently, and for me it turned out to be an issue of an exFAT formatted disk, which is not case sensitive. Hope this helps.
-
- Posts: 222
- Joined: 10 Jun 2008 15:40
- Location: Netherlands
Re: Cannot rename folder (case sensitivity)
In my case it is an NTFS volume, which is also not case-sensitive in Windows.
The strange thing is that I also cannot reproduce it anymore. But you saw the XYPlorer screenshot so it did actually happen.
Edit:
Cause:
AHA! I managed to reproduce it. When I have Visual Studio 2019 open I get that error message. It's probably an incorrect message for when a directory is locked.
Suggested fix:
Change the error message to the correct one : "Directory in use/locked"
The strange thing is that I also cannot reproduce it anymore. But you saw the XYPlorer screenshot so it did actually happen.
Edit:
Cause:
AHA! I managed to reproduce it. When I have Visual Studio 2019 open I get that error message. It's probably an incorrect message for when a directory is locked.
Suggested fix:
Change the error message to the correct one : "Directory in use/locked"
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
Re: Cannot rename folder (case sensitivity)
You said that it works in Windows Explorer so the directory can't be locked otherwise WE would fails as well?
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 222
- Joined: 10 Jun 2008 15:40
- Location: Netherlands
Re: Cannot rename folder (case sensitivity)
You are right. That is my mistake. Only when you asked me to check with Windows Explorer I didn't have VS2019 open. Later, when I tried again with XYPlorer I had VS2019 open again. I have VS2019 open 90%+ of the time, but I had just closed it to do an update.
Doh!
This is what Windows Explorer says (which makes a lot more sense):
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.