Page 2 of 2

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

Posted: 2021-03-17, 22:47 UTC
by Fla$her
2jinsight
I wrote that it works.

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

Posted: 2021-05-21, 05:37 UTC
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.

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

Posted: 2021-05-21, 07:45 UTC
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.

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

Posted: 2021-05-22, 09:17 UTC
by MVV
Should be easy to fix :)

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

Posted: 2021-05-23, 17:18 UTC
by ghisler(Author)
I haver already fixed it for the upcoming RC2!

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

Posted: 2021-05-27, 23:46 UTC
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 :-)

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

Posted: 2021-05-28, 06:21 UTC
by MVV
Thanks, really fixed! :D