Page 1 of 2

[9.51] Allow searching in filelists by relative path

Posted: 2020-09-04, 07:20 UTC
by MVV
When I have a list file in current folder and want to find files from it, TC finds nothing if I specify just @filelist.txt, only full path works.

TC should be able to locate list files by relative path. This is much easier to use and will allow to save search templates that will be valid for multiple folders with similar list files.

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

Posted: 2020-09-04, 09:46 UTC
by Horst.Epp
Support +++

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

Posted: 2020-09-04, 11:19 UTC
by petermad
Support++

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

Posted: 2020-09-05, 13:23 UTC
by Usher
Have you tried to search in @.\filelist.txt?

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

Posted: 2020-09-05, 15:54 UTC
by petermad
2Usher
Have you tried to search in @.\filelist.txt?
I get a "File not found" error. Right after a TC restart it seems to work, but after any other search I get the "File not found" again

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

Posted: 2020-09-05, 21:21 UTC
by Usher
2petermad
My results were also unstable. It looks like current folder depends on the search result.

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

Posted: 2020-09-07, 09:50 UTC
by ghisler(Author)
The current folder depends on what you did before in Total Commander. For example, if you change directory in one panel, then tab to the other and start the search, the current directory is still the one in the inactive panel.

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

Posted: 2020-09-07, 12:37 UTC
by MVV
But if I use relative path just in "Search In" field, TC resolves it properly always (relative to current active panel's tab). So it is 100% logical and expected to have same behaviour for relative filelist path.
If a TC function can benefit from using active panel path, it should use it. And in this case the profit is obvious. :)

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

Posted: 2020-09-07, 13:08 UTC
by petermad
MVV wrote: 2020-09-07, 12:37 UTC But if I use relative path just in "Search In" field, TC resolves it properly always (relative to current active panel's tab). So it is 100% logical and expected to have same behaviour for relative filelist path.
If a TC function can benefit from using active panel path, it should use it. And in this case the profit is obvious. :)
I totally agree.

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

Posted: 2020-11-15, 13:02 UTC
by andry81
But if I use relative path just in "Search In" field, TC resolves it properly always (relative to current active panel's tab).
If list file path is absolute, then it resolves it relative to the absolute, instead of relative to the current panel path, which has sense.

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

Posted: 2021-03-15, 15:11 UTC
by MVV
Will this be added in TC10?

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

Posted: 2021-03-15, 16:59 UTC
by Fla$her
LOADLIST works with rel. paths.

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

Posted: 2021-03-17, 07:13 UTC
by MVV
Well, that's good to hear, but search dialog should also handle relative paths.

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

Posted: 2021-03-17, 08:40 UTC
by Fla$her
Similarly. Standart search or autosearch with LOADLIST ==template. Most likely there operates a common search function.

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

Posted: 2021-03-17, 19:44 UTC
by jinsight
Support++