TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list
Moderators: Hacker, petermad, Stefan2, white
TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list
Here is a problem in TC 9.51 RC3 that is easy to recreate:
1) Have a folder c:\folder with subfolders sub1, sub2.
2) In the subfolders, have files sub1\test1.txt, sub2\test2.txt
3) Create a text file c:\folder\list.txt with the content:
*test1.txt
*test2.txt
4) Navigate to c:\folder and press Alt+F7
5) In the Search in field, enter @c:\folder\list.txt
6) Start the search.
Result: TC 9.51 RC3 will only find c:\folder\sub1\test1.txt
(In TC 8.52a, the same operation found correctly both c:\folder\sub1\test1.txt and c:\folder\sub2\test2.txt, so something was broken in the meantime.)
I ran some more random tests and found that for the first entry, matches are found in all subfolders, but for any subsequent entries only top level matches are returned.
1) Have a folder c:\folder with subfolders sub1, sub2.
2) In the subfolders, have files sub1\test1.txt, sub2\test2.txt
3) Create a text file c:\folder\list.txt with the content:
*test1.txt
*test2.txt
4) Navigate to c:\folder and press Alt+F7
5) In the Search in field, enter @c:\folder\list.txt
6) Start the search.
Result: TC 9.51 RC3 will only find c:\folder\sub1\test1.txt
(In TC 8.52a, the same operation found correctly both c:\folder\sub1\test1.txt and c:\folder\sub2\test2.txt, so something was broken in the meantime.)
I ran some more random tests and found that for the first entry, matches are found in all subfolders, but for any subsequent entries only top level matches are returned.
Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list
Hmm
https://yadi.sk/i/YzxO4CV00mGSAA
1.txt: and just
also work or i didn't understand you?
https://yadi.sk/i/YzxO4CV00mGSAA
1.txt:
Code: Select all
*test1
*test2
*test3
*test4
*test5
Code: Select all
*test*
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
#259941, TC 11.01 x64, Windows 7 SP1 x64
Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list
2billly
Confirmed. (with TC 9.5x, with TC 9.22a it still works)
(3 hits: only test1.txt found in the 3 sub folders)
2Ovg
Works only when Everthing is checked...
(6 hits: test1.txt + test2.txt found in the 3 sub folders)
test files
@c:\0\list.txt
TC 9.51RC3/64 @ W10
Confirmed. (with TC 9.5x, with TC 9.22a it still works)
(3 hits: only test1.txt found in the 3 sub folders)
2Ovg
Works only when Everthing is checked...
(6 hits: test1.txt + test2.txt found in the 3 sub folders)
test files
Code: Select all
C:\0\1
test1.txt
test2.txt
C:\0\2
test1.txt
test2.txt
C:\0\3
test1.txt
test2.txt
Code: Select all
*test1.txt
*test2.txt
*test3.txt
*test4.txt
*test5.txt
Windows 10 Pro 64bit 22H2 19045.5737 | Total Commander (x64) 11.51 #44961
Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list
I can confirm the bug - and add that it stopped working in TC 9.5b4. Also it still works when 'Everything is enabled'.
Maybe it has to do with one of these changes in TC9.5b4:
Maybe it has to do with one of these changes in TC9.5b4:
05.11.19 Added: Find files: "F2 search in found files" now also searches in previously found folders (32/64)
05.11.19 Fixed: Find files: Couldn't go back to previous searches when the search parameters were invalid, e.g. the start path didn't exist (32/64)
01.11.19 Fixed: Find files: Uncheck option "F2 search in search results" when user clicks on "New search" (32/64)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list
I can confirm it too - it's caused a countermeasure against duplicate results. I will fix it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list
Confirmed fixed with TC9.51RC4/64 - with and w/o Everything checked
Last edited by XuaLee on 2020-03-04, 19:49 UTC, edited 1 time in total.
Windows 10 Pro 64bit 22H2 19045.5737 | Total Commander (x64) 11.51 #44961
Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list
Confirmed fixed in TC 9.51rc4 

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar