[Solved] Match Case for drive letter?
[Solved] Match Case for drive letter?
1315a
Match Case OFF, search for d: *.txt (files are listed)
Match Case ON, search for d: *.txt (d: is not in caps, so nothing is displayed)
Match Case ON, search for D: *.txt (files are listed)
I know that this is correct but maybe Match Case should ignore drive letters?
Match Case OFF, search for d: *.txt (files are listed)
Match Case ON, search for d: *.txt (d: is not in caps, so nothing is displayed)
Match Case ON, search for D: *.txt (files are listed)
I know that this is correct but maybe Match Case should ignore drive letters?
Last edited by w64bit on Fri May 26, 2023 6:59 am, edited 3 times in total.
Re: Match Case for drive letter?
I agree, Match Case should ignore drive letter capitalization since it has no case. Though I don't know how economical this would be, as it will require identifying what component of every substring might or might-not be a drive letter.
-
- Posts: 690
- Joined: Wed Jun 01, 2022 5:01 pm
Re: Match Case for drive letter?
What about:
case:c:\windows\
Should this match C:\WINDOWS\ ?
Should this only work for drive letters?
Do I ignore case only for the drive letter?
so c:\WINDOWS matches C:\WINDOWS?
I'm thinking the best option is to ignore case on the drive letter only..
Folders can be case sensitive on Windows 10+
Drive letters are always A-Z
(I've put this on my TODO list)
case:c:\windows\
Should this match C:\WINDOWS\ ?
Should this only work for drive letters?
Do I ignore case only for the drive letter?
so c:\WINDOWS matches C:\WINDOWS?
I'm thinking the best option is to ignore case on the drive letter only..
Folders can be case sensitive on Windows 10+
Drive letters are always A-Z
(I've put this on my TODO list)
-
- Posts: 690
- Joined: Wed Jun 01, 2022 5:01 pm
Re: Match Case for drive letter?
That is what I had fought initially. But then I started thinking, if there is a way to increase the number of volumes, when you run out of letters of English alphabet- maybe with names like AA, AB, AC etc.?
This issue could be either ignored as a niche one - or dug into. Here are some links:
https://stackoverflow.com/a/4652637/15307703
https://www.techrepublic.com/article/us ... e-letters/
https://askleo.com/26_drives_is_there_a ... n_windows/
Last edited by Thy Grand Voidinesss on Mon Aug 29, 2022 1:10 pm, edited 2 times in total.
Re: Match Case for drive letter?
Long story short: No.Thy Grand Voidinesss wrote: ↑Wed Aug 03, 2022 1:50 pm [..] if there is a way to increase the number of volumes, when you run out of letters of English alphabet- maybe with names like AA, AB, AC etc.?
Re: Match Case for drive letter?
Running out of drive letters means one should use mount points.
Re: Match Case for drive letter?
Exactly! "C:\mount\Appliances manuals" is easier recognizable than "Q:" too
(mapped network shares is a different story, though)
(mapped network shares is a different story, though)
Re: Match Case for drive letter?
The next alpha update will ignore case when searching for drive letter + ':'
For example:
case:c:
will match C:\WINDOWS
However, you must specify the correct case when using full paths.
case:c:\WINDOWS will not match C:\WINDOWS
You can use case:name:c: if you need to match case.
For example:
case:c:
will match C:\WINDOWS
However, you must specify the correct case when using full paths.
case:c:\WINDOWS will not match C:\WINDOWS
You can use case:name:c: if you need to match case.
Re: Match Case for drive letter?
Everything 1.5.0.1347a will now ignore case when searching for drive letter + ':'
For example:
case:c: will match files on the C: drive.
For example:
case:c: will match files on the C: drive.