[9.51] Allow searching in filelists by relative path

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: [9.51] Allow searching in filelists by relative path

Post by *Fla$her »

2jinsight
I wrote that it works.
Overquoting is evil! 👎
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: [9.51] Allow searching in filelists by relative path

Post by *MVV »

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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [9.51] Allow searching in filelists by relative path

Post by *ghisler(Author) »

Sorry, I forgot to add this to my todo list.
So it seems that it tries to concatenate list.txt with relative entries from list
No, it tries to take the directory part from the list file and concatenate it with the file name, e.g.
@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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [9.51] Allow searching in filelists by relative path

Post by *ghisler(Author) »

I haver already fixed it for the upcoming RC2!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [9.51] Allow searching in filelists by relative path

Post by *petermad »

history.txt wrote:21.05.21 Fixed: Find files, "Search in" field: List file option (@listfilename) only supported absolute paths (32/64)
Confirmed fixed in TC 10 rc2 :-)
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply