Case sensitive in TC search doesn't work

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
klappa
Junior Member
Junior Member
Posts: 77
Joined: 2008-07-23, 12:27 UTC

Case sensitive in TC search doesn't work

Post by *klappa »

I search for SAT but it brings up Sat or sat despite checking the case sensitive option. I just to find those dirs with the exact name of "SAT".

Is it possible?

Thanks!
herman5
Junior Member
Junior Member
Posts: 43
Joined: 2012-08-20, 16:39 UTC

Post by *herman5 »

YOu know that you are on WINDOWS FS right?
there is NO case sensitivity thats why searching for "SAT" allways brings up "sat" "SAT" "Sat" etc

if you want a case sensitive fs you have to switch to *unix...
klappa
Junior Member
Junior Member
Posts: 77
Joined: 2008-07-23, 12:27 UTC

Post by *klappa »

herman5 wrote:YOu know that you are on WINDOWS FS right?
there is NO case sensitivity thats why searching for "SAT" allways brings up "sat" "SAT" "Sat" etc

if you want a case sensitive fs you have to switch to *unix...
Then why have the CASE sensitive option if it obviously doesn't work?

Found this but it obviously doesn't help me much though.
W/o regex:

To find names with Britney or Spears just type *Britney* *Spears* w/o any quotes (asterisks before and after tell that any characters may be in filename before and after word).
To find names with exact string Britney Spears type this string in double quotes: "*Britney Spears*".
To find names with both Britney and Spears but with any single character between words type *Britney?Spears*.
To find names with both Britney and Spears but with any characters between words type *Britney*Spears*.

Same using regex ('regex' checkbox must be checked):

To find names with Britney or Spears just type Britney|Spears w/o any quotes.
To find names with exact string Britney Spears type it: Britney Spears.
To find names with both Britney and Spears but with any single character between words type Britney.Spears.
To find names with both Britney and Spears but with any characters between words type Britney.*Spears.
To find names with Britney Spears or Britney_Spears type Britney[ _]Spears.

Also press F1 in search dialog to get help topic about searching - and there will be link to page that describes regex syntax.
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

if you want a case sensitive fs you have to switch to *unix...
Or enable it in registry, since NTFS is case sensitive FS. Windows just isn't using that ability.

2christianh
But you can do a case sensitive search just fine even without messing with your computer. Open the Find Files dialog, switch to 'Plugins' tab, select plugin 'tc', property 'fullname' and op '=(case)' and then type 'SAT' as the value. It should work.
Windows 10 Pro x64, Windows 11 Pro x64
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Then why have the CASE sensitive option if it obviously doesn't work?
That option is for searching for case sensitive text in files. That's why it's enabled only when you tick 'Find text:'.
Windows 10 Pro x64, Windows 11 Pro x64
klappa
Junior Member
Junior Member
Posts: 77
Joined: 2008-07-23, 12:27 UTC

Post by *klappa »

umbra wrote:
if you want a case sensitive fs you have to switch to *unix...
Or enable it in registry, since NTFS is case sensitive FS. Windows just isn't using that ability.

2christianh
But you can do a case sensitive search just fine even without messing with your computer. Open the Find Files dialog, switch to 'Plugins' tab, select plugin 'tc', property 'fullname' and op '=(case)' and then type 'SAT' as the value. It should work.
Thanks!

But it didn't work. Says No files found. I only want to find directories with the letters SAT uppercased.
umbra wrote:
Then why have the CASE sensitive option if it obviously doesn't work?
That option is for searching for case sensitive text in files. That's why it's enabled only when you tick 'Find text:'.
Oh. thought it was something like that.
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

But it didn't work. Says No files found. I only want to find directories with the letters SAT uppercased.
I hope you didn't type the quotation marks around the SAT as the value. Also make sure, that on the 'General' tab you have everything configured properly - except for 'Search for:', that should be left blank since you are using a plugin instead of it.

Note: You can combine other plugins and properties to narrow your future searches.
Windows 10 Pro x64, Windows 11 Pro x64
klappa
Junior Member
Junior Member
Posts: 77
Joined: 2008-07-23, 12:27 UTC

Post by *klappa »

umbra wrote:
But it didn't work. Says No files found. I only want to find directories with the letters SAT uppercased.
I hope you didn't type the quotation marks around the SAT as the value. Also make sure, that on the 'General' tab you have everything configured properly - except for 'Search for:', that should be left blank since you are using a plugin instead of it.

Note: You can combine other plugins and properties to narrow your future searches.
HEhe noo! Im not that stupid. Yep did everything you said but it says it doesn't find the files, in this case it should be folders though.

Image: http://i.imgur.com/XuhFsmw.png
Image: http://i.imgur.com/O8jYnTO.png
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Re: Case sensitive in TC search doesn't work

Post by *karlchen »

Hello, christianh.
I search for SAT but it brings up Sat or sat despite checking the case sensitive option.
Cannot really reproduce this problem on
+ Windows 7 Home Premium 64-bit SP1
+ Total Commander 8.01 x64
I just to find those dirs with the exact name of "SAT". Is it possible?
Yes, it is.
  1. <Alt><F7>
  2. Tab "General"- Search for: <leave empty>
  3. Tab "advanced" - Attributes Directory [x] ticked
  4. Tab "Plugins" - Option [X] Search in plugins ticked
    plugin=tc
    property=fullname
    OP=cont.(case)
    value=SAT
  5. [Start Search]
  6. Result here:
    finds exactly one folder having the name D:\Users\karl\Downloads\Test\SAT
    ignores the folder D:\Users\karl\Downloads\Test2\sat
HTH,
Karl
Last edited by karlchen on 2013-05-06, 16:20 UTC, edited 1 time in total.
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
klappa
Junior Member
Junior Member
Posts: 77
Joined: 2008-07-23, 12:27 UTC

Re: Case sensitive in TC search doesn't work

Post by *klappa »

karlchen wrote:Hello, christianh.
I search for SAT but it brings up Sat or sat despite checking the case sensitive option.
Cannot really reproduce this problem on
+ Windows 7 Home Premium 64-bit SP1
+ Total Commander 8.01 x64
I just to find those dirs with the exact name of "SAT". Is it possible?
Yes, it is.
  1. <Alt><F7>
  2. Tab "General"- Search for: <leave empty>
  3. Tab "advanced" - Attributes Directory [x] ticked
  4. Tab "Plugins" - Option [X] Search in plugins ticked
    plugin=tc
    property=fullname
    OP=cont.(case)
    value=SAT
  5. [Start Search]
  6. Result here:
    finds exactly one folder having the name D:\Users\karl\Downloads\Test\SAT
    ignores the folder D:\Users\adminkh\Downloads\Test2\sat
HTH,
Karl
Thanks that worked much better! What's the diff between the cont.case and =case?

Thanks alot!
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

The difference is that 'cont.case' will search for file/directory names that contain a substring 'SAT' (like 'eSAT', 'SATellite, ...') while '=(case)' will find only files/directories called exactly 'SAT'.
According to your first post:
christianh wrote:I just to find those dirs with the exact name of "SAT".
So I presumed you wanted the exact search.
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

The problem with tc.fullname is that any folder named SAT will have a pathname pre-fixed to it. As can be seen in the example that I gave, too.
As a consequence tc.fullname is not SAT, but D:\Users\karl\Downloads\Test\SAT e.g.
So maybe it would be better to use tc.name instead and =(case) SAT.

Will have to try.

Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

2karlchen
tc.fullname = tc.name + tc.ext, it doesn't contain a path.
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Usually 'full name' means 'file name with full path' BTW.
But you're right, tc.fullname returns just filename with extension.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, umbra, MVV.

You are both right. Temporary confusion on my side. :?

Cheers,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
Post Reply