Find Files: search for files in specific folder bug ?
Moderators: white, Hacker, petermad, Stefan2
Find Files: search for files in specific folder bug ?
I have the following files:
c:\temp\a\notes\test.txt
c:\temp\notes\test.txt
In the "find files" dialog c:\temp is entered in the field "search in".
If I search for "notes\*.txt" I get [No files found] as result.
If I search for "notes\*.txt " (notice there is a blank behind *.txt) I get as result:
c:\temp\a\notes\test.txt
c:\temp\notes\test.txt
If I search for "notes\ *.txt" (notice there is a blank before *.txt) I get as result:
c:\temp\notes\test.txt
This is the example in the help file: "windows\ system32\ *.ini finds ini files only in windows\ and system32 dirs".
tcmd (x64) v9.12 (i don't use everything)
c:\temp\a\notes\test.txt
c:\temp\notes\test.txt
In the "find files" dialog c:\temp is entered in the field "search in".
If I search for "notes\*.txt" I get [No files found] as result.
If I search for "notes\*.txt " (notice there is a blank behind *.txt) I get as result:
c:\temp\a\notes\test.txt
c:\temp\notes\test.txt
If I search for "notes\ *.txt" (notice there is a blank before *.txt) I get as result:
c:\temp\notes\test.txt
This is the example in the help file: "windows\ system32\ *.ini finds ini files only in windows\ and system32 dirs".
tcmd (x64) v9.12 (i don't use everything)
Confirmed in TC 9.12
In TC 8.52 a search for "notes\*.txt " (without the quotes) gives [No files found] as result.
Also if a c:\temp\test.txt file exists a searc for "notes\ *.txt" gives
c:\temp\test.txt
c:\temp\notes\test.txt
it is suprising that c:\temp\test.txt is found - if this is intentional the help text:
In TC 8.52 a search for "notes\*.txt " (without the quotes) gives [No files found] as result.
Also if a c:\temp\test.txt file exists a searc for "notes\ *.txt" gives
c:\temp\test.txt
c:\temp\notes\test.txt
it is suprising that c:\temp\test.txt is found - if this is intentional the help text:
should be changed to:windows\ system32\ *.ini finds ini files only in windows\ and system32 dirs
windows\ system32\ *.ini finds ini files only in the current dir plus in windows\ and system32\ dirs
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
notes\ tells TC to search in subfolder "notes" in addition to the current directory.Also if a c:\temp\test.txt file exists a searc for "notes\ *.txt" gives
c:\temp\test.txt
c:\temp\notes\test.txt
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Exactly - that is why I think the current Help text i misleading: "windows\ system32\ *.ini finds ini files only in windows\ and system32 dirs" - and why I suggest a change to the Help text.notes\ tells TC to search in subfolder "notes" in addition to the current directory.
And what about the fact that a space at the end of the search parameters, changes the search result in TC 9.12?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
2Evds
It only happens if 'Everything' is disabled or on non-indexed drives.
This one is what I would expect.If I search for "notes\*.txt" I get [No files found] as result.
And so is this one.If I search for "notes\ *.txt" (notice there is a blank before *.txt) I get as result:
c:\temp\notes\test.txt
This is unexpected - an it is not how it worked in TC TC 8.52 either - it actually occurs the first time in TC 9.10b1.If I search for "notes\*.txt " (notice there is a blank behind *.txt) I get as result:
c:\temp\a\notes\test.txt
c:\temp\notes\test.txt
It only happens if 'Everything' is disabled or on non-indexed drives.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
And so is this one.If I search for "notes\ *.txt" (notice there is a blank before *.txt) I get as result:
c:\temp\notes\test.txt
Based on the example in the help file I had the impression that "notes\ *.txt" would search for all *.txt files in a subdirectory with the name notes (in addition to the *.txt files in the current directory).windows\ system32\ *.ini finds ini files only in windows\ and system32 dirs
So, In the second example ("notes\ *.txt") I would suppose that tcmd should return two files: c:\temp\notes\test.txt and c:\temp\a\notes\test.txt ?
Because in both cases there is a *.txt file in a notes subdirectory.
History.txt
But it seems that this only applies to the Synchronize and Copy dialog. I cannot make it work in Find files.29.01.17 Added: New wildcards for relative dirs now support wildcard **, which stands for any number of subdirs, e.g. subdir\**\*.txt finds text files where the relative path contains "subdir" anywhere in the path (32/64)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar