ZTree.com  | ZEN  | About...  

 Index   Back

[Q] Can ZTree (Will ZTree be able to) handle case sensitive files and folders?   [Q]

By: Martijn Coppoolse   Homepage   Voorburg, NL  
Date: Jun 21,2018 at 17:22
In Response to: [Q] Can ZTree (Will ZTree be able to) handle case sensitive files and folders? (Peter Shute)

> > Yes: for example, using Linux on a dual-boot machine, I once
> > managed to create file names with identical names except for
> > the case in a single directory on my NTFS-formatted Windows drive.
> > I managed to fix it in Windows using ZTreeWin's sequential rename
> > feature using :00:. It was easier than rebooting to Linux,
> > renaming the file, and rebooting back to Windows.
>
> In that case, was Ztree unable to simply rename one of the files? What
> happened when you tried?

No, ZTreeWin successfully renamed both files; the first one got number 00, the second one 01. After that, there was no problem anymore since the names had become different.


Basically, since NTFS supports case-sensitive file names, retrieving the list of file names returns both TEST.txt and test.TXT.
Since Windows is case-aware anyway, opening a file by its name (with the originally listed case) will open the correct file, even if there are two identical file names.

Things only become murky when you try to open TEST.TXT when only TEST.txt and test.TXT exist; there might not be a reliable way to know which file will be opened.
Also, of course, when most Windows programs need to compare file names, they will do so in a case-insensitive manner; so for example, adding a file name to a list of Most Recently Used files, chances are that two file names differing only in case will be folded into the same MRU item.


--
Martijn

216 views      
Thread locked
 

Messages in this Thread

 
94,426 Postings in 11,918 Threads, 348 registered users, 6 users online (0 registered, 6 guests)
Index | Admin contact |   Forum Time: Sep 18, 2019 - 1:28 am EDT  |  Hits:28,647,525  (272 Today )
RSS Feed