Display folders mingled with files?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
nn1k3
Member
Member
Posts: 136
Joined: 2007-02-06, 16:59 UTC

Display folders mingled with files?

Post by *nn1k3 »

I see that folders are always displayed before files.
Is there an option to display items sorted by name without regard to whether they are files or folders?

If not, that is OK. I rarely want to see files mingled with folders. This is not important.

Optional reading below -------
Here is an example of when that would be helpful. Suppose I save this very web page with this option:
"Webpage, complete (’.htm;'.html)".
Then I get a new file and a new folder with these names:
(8) Total Commander - Post a new topic_files\
(8) Total Commander - Post a new topic.html


Now suppose I want to delete both of them. That is easier when I see the pair together. (I am aware of workarounds such as ctrl+s)
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Display folders mingled with files?

Post by *Horst.Epp »

TC doesn't support this.
You can use Everything, which optionaly delivers dirs and files merged.
Unfortunately getting that list into TC (Ahk script) you have separated dirs and files.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Display folders mingled with files?

Post by *tuska »

Horst.Epp wrote: 2022-10-03, 15:24 UTC You can use Everything, which optionaly delivers dirs and files merged.
Unfortunately getting that list into TC (Ahk script) you have separated dirs and files.
Mmh, the transfer to TC works 1:1 for me.
User avatar
nn1k3
Member
Member
Posts: 136
Joined: 2007-02-06, 16:59 UTC

Re: Display folders mingled with files?

Post by *nn1k3 »

Thanks to all.
Dear Gral: I did search for previous posts, but in vain. What search gave you those 11 hits?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Display folders mingled with files?

Post by *Horst.Epp »

tuska wrote: 2022-10-03, 15:35 UTC
Horst.Epp wrote: 2022-10-03, 15:24 UTC You can use Everything, which optionaly delivers dirs and files merged.
Unfortunately getting that list into TC (Ahk script) you have separated dirs and files.
Mmh, the transfer to TC works 1:1 for me.
You can set sort_mix=1 in Everything and you get files and folders merged in Everything itself.
Of course you get the full list from Everything into TC
but the TC display of the list returned from Everything is never a merge of dirs and files.
TCs Loadlist command still separates dirs and files.
If you have found a way to change this, please tell us how ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Display folders mingled with files?

Post by *tuska »

Mmh,
For test purposes, I have displayed a subdirectory with 5 folders and 38 files with this option in Everything:
View > Sort by > Mix Files and Folders => Everything.ini: sort_mix=1

Afterwards I imported the search result to TC (AHK script) and then, to be on the safe side, I compared the view in Everything
with the view in TC -> the tab "Search result" by eye contact (only because you meant that it is not possible):

After the view in Everything as well as in TC was generally sorted by name for me,
the files and folders were *MIXED* in the same order in both programmes.

Remark:
In TC, for example, a folder is displayed with square brackets in the search result.

For me, this is both the expected search result and the expected order.

The result is also documented in the file "EV-Results.txt".
Execute cm_ToggleAutoViewModeSwitch before...
[Theoretically, one could also sort this file in ascending order from A-Z].


TC 10.51 x64 | 'Everything' 1.5.0.1321a (x64)
Open Everything GUI results with TC LOADLIST - AutoHotkey (.AHK) SCRIPT and GUIDANCE, discussions
Transfer 'Everything' GUI results to Total Commander - STEP-BY-STEP GUIDE, summary ->
Button with command:
%COMMANDER_PATH%\Tools\AutoHotkey\Skripte\EV_SearchResults_to_TC-panel\
SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_TAB-Search_result_(A)_AltGr-S.exe
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Display folders mingled with files?

Post by *Horst.Epp »

This works only if you do a manual Loadlist of the Everythings results.
In our default AHK script the Loadlist is part of an Auto-View rule.
Even if the Sort order for its View mode says unsorted the display has dirs on top.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Display folders mingled with files?

Post by *tuska »

Horst.Epp wrote: 2022-10-03, 16:22 UTC This works only if you do a manual Loadlist of the Everythings results.
In our default AHK script the Loadlist is part of an Auto-View rule.
Even if the Sort order for its View mode says unsorted the display has dirs on top.
OK, a few paths lead to the goal (Everything -OR- Everything + AHK-Skript with button). :)
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Display folders mingled with files?

Post by *tuska »

2Horst.Epp
Just so that there is no misunderstanding here:
I also use the AHK script from here.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Display folders mingled with files?

Post by *Horst.Epp »

tuska wrote: 2022-10-03, 16:58 UTC 2Horst.Epp
Just so that there is no misunderstanding here:
I also use the AHK script from here.
Yes, I understand :)
The full implementation of the description uses an Auto switch mode for users conveniences.
I now have made an bug report for the different behaviour of the LOADLIST when invoked from Auto view.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Display folders mingled with files?

Post by *Horst.Epp »

With the TC 10.52 RC1 the problems are solved.
It handles mixed files and dirs from Everything now fine.
I'll update the script and its description.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Post Reply