Find Files - Strange Results

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Rhywun
Junior Member
Junior Member
Posts: 14
Joined: 2004-03-17, 17:21 UTC
Location: New York City
Contact:

Find Files - Strange Results

Post by *Rhywun »

I get strange results when I use "Find Files", and now I am totally confused.... For example, I have a directory containing 66 files all ending in ".PRC". When I enter "*.prc" in the file name box, the search returns 1 file (?!). When I enter just "prc" or leave it blank the search returns all 66 files. Other strange result is, when I try to search for text that I KNOW is inside one or more files, the search again only returns a few files even if EVERY SINGLE file contains the specified text.... All of the other search options on all three pages are blank. Any ideas what could be happening? :?: :?:
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50505
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Maybe you had some files selected when starting the search function? Then the option "Only search in selected files" will be checked.

Another guess: The files may have invisible chars like spaces after the text "prc". Then *.prc will not find them, while prc alone will look for the string anywhere in the name. To verify this, try searching for *.prc* or even *.*prc*
Author of Total Commander
https://www.ghisler.com
User avatar
Rhywun
Junior Member
Junior Member
Posts: 14
Joined: 2004-03-17, 17:21 UTC
Location: New York City
Contact:

Post by *Rhywun »

ghisler(Author) wrote:Maybe you had some files selected when starting the search function? Then the option "Only search in selected files" will be checked.
Another guess: The files may have invisible chars like spaces after the text "prc". Then *.prc will not find them, while prc alone will look for the string anywhere in the name. To verify this, try searching for *.prc* or even *.*prc*
Hmmm I can't reproduce the first problem now - it seems to be working properly... :-)

And for the second problem (can't find text in files) I discovered that I had to check "Unicode" in order to find text in those files--but how would I know whether the files are in Unicode beforehand?!
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

To know---

Post by *Clo »

2Rhywun
but how would I know whether the files are in Unicode beforehand?!
:)  Hello !
• A simple trick : mark the file, then view it in Lister (F3). Then, open the "Options" menu of Lister: the type of text file has a tick...

:mrgreen:   Kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
Post Reply