Bug in Find Files?

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Bug in Find Files?

Post by *robinsiebler »

I did a search for *Music*. On the advanced tab, I selected 'Attributes' and unselected everything except 'Directory'.

So, it should have only found directories, but files were listed in the search results.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Re: Bug in Find Files?

Post by *Clo »

robinsiebler wrote:I did a search for *Music*. On the advanced tab, I selected 'Attributes' and unselected everything except 'Directory'.

So, it should have only found directories, but files were listed in the search results.
:D Hello!
¤ I just made the same test, searching Save* in two HD (one local, one network). That works fine under Win 98 SE. You can watch:
http://perso.wanadoo.fr/charries/relais/result-list.png
Not any file, the result list contains alright (sub)directories only...
What OS are you running?
:) Friendly, @+
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

I just tried it with the same thing you tried (*Music*) and it came up with only directories in the search listing. The line at the bottom said:

[0 files and 20 directories found]

I did notice however that on my system, the boxes for the attributes were all green blocks inside the checkboxes. I had to clear all of the boxes and then recheck the directory box. Maybe try that?
User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

Re: Bug in Find Files?

Post by *Aezay »

robinsiebler wrote:I did a search for *Music*. On the advanced tab, I selected 'Attributes' and unselected everything except 'Directory'.

So, it should have only found directories, but files were listed in the search results.
If the "Directory" check was half-selected (gray). It will also return files which doesn't have any attributes set (FILE_ATTRIBUTE_NORMAL).
Of all the planets I've been to, this one is my favorite.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Re: Bug in Find Files? [Edit]

Post by *Clo »

Aezay wrote:
robinsiebler wrote:I did a search for *Music*. On the advanced tab, I selected 'Attributes' and unselected everything except 'Directory'.

So, it should have only found directories, but files were listed in the search results.
If the "Directory" check was half-selected (gray). It will also return files which doesn't have any attributes set (FILE_ATTRIBUTE_NORMAL).
:D Hi!
Strange, since at home I've too the box 1/2 selected, but I found not any file (maybe there is none under Win9x?)
Edit: I verified quickly: in Windows, there are a lot of files (*.EXE, *.DLL) having none attribute...
:) Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
Basiltoo
Junior Member
Junior Member
Posts: 10
Joined: 2003-11-28, 11:09 UTC
Location: Cornwall UK

Re: Bug in Find Files?

Post by *Basiltoo »

Aezay wrote: If the "Directory" check was half-selected (gray). It will also return files which doesn't have any attributes set (FILE_ATTRIBUTE_NORMAL).
Please explain the two position selection of attributes. I cannot find any info on the forum or in the help file.
Regards,
Baz
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Re: Bug in Find Files? [Edit]

Post by *Clo »

Basiltoo wrote:
Aezay wrote: If the "Directory" check was half-selected (gray). It will also return files which doesn't have any attributes set (FILE_ATTRIBUTE_NORMAL).
Please explain the two position selection of attributes. I cannot find any info on the forum or in the help file.
:D Hi!
You're right, nothing in the Help. With this kind of search, the check-box has a grey background instead the ususal white one... but it has a mark!
I suppose that other items might be checked to get the normal box? I noticed that, but it seems that didn't exist in old versions of TC (but I don't use "Advanced" Search a lot...)
Edit: :oops: I verified in an old 5.11, it's the same. But clicking again, you can get the normal box (white BG).
Coming back to the original question: find dirs / sub-dirs, none file when only "Directories" is ticked (black on white); all other boxes are unchecked (white BG)
Hoping that Ch. Ghisler'll inform us... ?
8) friendly,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

The checkboxes are also all grayed out when you go to change the attributes on any directory, even if that directory has any attributes to it already. Is this intentional in TC?
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Not important...

Post by *Clo »

Boofo wrote:The checkboxes are also all grayed out when you go to change the attributes on any directory, even if that directory has any attributes to it already. Is this intentional in TC?
:D Hi Bob!
¤ Like I try to explain above, you can click once on the grey boxes, they become white and unchecked... Then, you choose what boxes must be ticked, having normal colours: black on white BG. That doesn't seem important for the function working... I got the same result in both cases.
Maybe it's a Windows or Delphi™ feature-lacuna?
:wink: Friendly regards, Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Clo, I agreee, it isn't important on how it works. But it would be nice to have it work like it does on files and not have to uncheck the boxes first to make it work right. ;)
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

In another place...

Post by *Clo »

Boofo wrote:Clo, I agreee, it isn't important on how it works. But it would be nice to have it work like it does on files and not have to uncheck the boxes first to make it work right. ;)
Sure, Bob! I remember that occurs sometimes too in the "Change attributes" dialog-box from the "Files" menu... It's so irritating too.
Hence, I suppose that the problem doesn't come from TC directly!
:) Friendly,
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

I'v e never had the gray box problem happen for files, only for directories and in the search (find files) area. I would think it is a TC problem. :)
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Quick test---

Post by *Clo »

Boofo wrote:I'v e never had the gray box problem happen for files, only for directories and in the search (find files) area. I would think it is a TC problem. :)
¤ I just remake a quick test: I've grey too asking for (a) file(s) search!
¤ In "Change Attributes", that occurs only when you select several files to change at the same time (it's possible, I do this for some files like *.GID, *.ion -useful to move them when making a HD defrag-...)
:wink: Other: do you " Deck the hall with bunches of holly..." :?:
:) Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Just to clarify (if it's not clear):
in Find files / Change attributes dialog
checked = must have this attribute / set this attribute
not checked = must not have this attribute / unset this attribute
gray (half checked) = don't care about this attribute / don't change this attribute

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
mhe
Junior Member
Junior Member
Posts: 71
Joined: 2003-02-16, 15:09 UTC

Searching for underscore "_" in DIR names

Post by *mhe »

I`ve got a problem with the search.

I was going to massrename directorys, so i want to search for all directorys containing "_".
So i ticked the box saying "directory" in the advanced tab under attributes.
And just entered "_" in the "search for" field.

And i get like 4 directorys containing the underscore character, even though i have hundreds of them.

What am i doing wrong here?
Post Reply