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?
[Solved] Match Case for drive letter?
-
w64bit
- Posts: 338
- Joined: Wed Jan 09, 2013 9:06 am
[Solved] Match Case for drive letter?
Last edited by w64bit on Fri May 26, 2023 6:59 am, edited 3 times in total.
-
raccoon
- Posts: 1017
- Joined: Thu Oct 18, 2018 1:24 am
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.
-
Thy Grand Voidinesss
- Posts: 825
- Joined: Wed Jun 01, 2022 5:01 pm
Re: Match Case for drive letter?
Operating system needs to have that info, right? So Everything could check how [at least the current] list of volumes looks like in a given moment?raccoon wrote: Tue Aug 02, 2022 4:04 pm [...] it will require identifying what component of every substring might or might-not be a drive letter.
-
void
- Developer
- Posts: 19871
- Joined: Fri Oct 16, 2009 11:31 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)
-
Thy Grand Voidinesss
- Posts: 825
- 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.
-
NotNull
- Posts: 5961
- Joined: Wed May 24, 2017 9:22 pm
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.?
-
horst.epp
- Posts: 1642
- Joined: Fri Apr 04, 2014 3:24 pm
Re: Match Case for drive letter?
Running out of drive letters means one should use mount points.
-
NotNull
- Posts: 5961
- Joined: Wed May 24, 2017 9:22 pm
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)
-
w64bit
- Posts: 338
- Joined: Wed Jan 09, 2013 9:06 am
Re: Match Case for drive letter?
Any news regarding this change?void wrote: Wed Aug 03, 2022 2:55 am 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)
Thank you
-
void
- Developer
- Posts: 19871
- Joined: Fri Oct 16, 2009 11:31 pm
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.
-
void
- Developer
- Posts: 19871
- Joined: Fri Oct 16, 2009 11:31 pm
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.