Bug in Find Files?
Moderators: Hacker, petermad, Stefan2, white
- robinsiebler
- Senior Member
- Posts: 460
- Joined: 2003-03-05, 21:04 UTC
Bug in Find Files?
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.
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
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
Re: Bug in Find Files?
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.

¤ 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?

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
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?
[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?
Re: Bug in Find Files?
If the "Directory" check was half-selected (gray). It will also return files which doesn't have any attributes set (FILE_ATTRIBUTE_NORMAL).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.
Of all the planets I've been to, this one is my favorite.
Re: Bug in Find Files? [Edit]
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).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.

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...

#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Re: Bug in Find Files?
Please explain the two position selection of attributes. I cannot find any info on the forum or in the help file.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).
Regards,
Baz
Baz
Re: Bug in Find Files? [Edit]
Basiltoo wrote:Please explain the two position selection of attributes. I cannot find any info on the forum or in the help file.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).

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:

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... ?

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Not important...
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?

¤ 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?

Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
In another place...
Sure, Bob! I remember that occurs sometimes too in the "Change attributes" dialog-box from the "Files" menu... It's so irritating too.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.
Hence, I suppose that the problem doesn't come from TC directly!

Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Quick test---
¤ I just remake a quick test: I've grey too asking for (a) file(s) search!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.
¤ 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-...)



#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
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
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.
Searching for underscore "_" in DIR names
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?
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?