2jinsight
I wrote that it works.
[9.51] Allow searching in filelists by relative path
Moderators: white, Hacker, petermad, Stefan2
Re: [9.51] Allow searching in filelists by relative path
Overquoting is evil! 👎
Re: [9.51] Allow searching in filelists by relative path
So will this little fix be added to upcoming TC 10? TC just needs to pass current directory to dialog on opening.
BTW, when I specify relative path as a search location, TC handles it properly (it finds files in that subfolder).
BTW2, I've just tried to find in @list.txt with list.txt containing two filenames and two full paths. TC finds items by full paths but warns that it didn't find items like list.txtfilename (yes, a concatenation of list file name and a list entry). So it seems that it tries to concatenate list.txt with relative entries from list instead of concatenating path to list.txt. It is a bug.
BTW, when I specify relative path as a search location, TC handles it properly (it finds files in that subfolder).
BTW2, I've just tried to find in @list.txt with list.txt containing two filenames and two full paths. TC finds items by full paths but warns that it didn't find items like list.txtfilename (yes, a concatenation of list file name and a list entry). So it seems that it tries to concatenate list.txt with relative entries from list instead of concatenating path to list.txt. It is a bug.
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [9.51] Allow searching in filelists by relative path
Sorry, I forgot to add this to my todo list.
@c:\start directory\list.txt
->
c:\start directory\filename
This is done by cutting the name after the last backslash. But since you only gave a name (list.txt), there is no backslash to cut.
No, it tries to take the directory part from the list file and concatenate it with the file name, e.g.So it seems that it tries to concatenate list.txt with relative entries from list
@c:\start directory\list.txt
->
c:\start directory\filename
This is done by cutting the name after the last backslash. But since you only gave a name (list.txt), there is no backslash to cut.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [9.51] Allow searching in filelists by relative path
I haver already fixed it for the upcoming RC2!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [9.51] Allow searching in filelists by relative path
Confirmed fixed in TC 10 rc2history.txt wrote:21.05.21 Fixed: Find files, "Search in" field: List file option (@listfilename) only supported absolute paths (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