Total Commander Tree update

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
TimD12
Junior Member
Junior Member
Posts: 4
Joined: 2015-09-11, 10:07 UTC
Location: Melbourne, Australia

Total Commander Tree update

Post by *TimD12 »

This may be of use/interest to the power users out there who have to share access to a drive where others may create/move folders without using Total Commander. i.e. folders aren't in the tree or are incorrect when using Alt-F10.

Of course you can just re-scan the tree, but I found this annoyance as some of my structures take a while to scan/build, my solution is the batch file shown below.
It takes a single drive letter variable to process (i run it on multiple drives)
i.e. "WTREE.BAT H"

@ECHO OFF
ECHO Processing %1:
%1:
CD\
ATTRIB TREEINFO.WC -R -H
DEL TREEINFO.WC
Echo Creating Tree
DIR /B/S /ON /AD-H > TREEINFO.WC
Echo Processing Branches
"fnr.exe" --cl --dir "%1:" --fileMask "TREEINFO.WC" --skipBinaryFileDetection --find "%1:\\" --replace "["
ATTRIB TREEINFO.WC +R +H
Echo Finished %1:

Note:
the fnr.exe program is freely available from the internet (I can't paste the link) but search for fnr.exe and you will get "findandreplace dot codeplex dot com"

best used as an automatic run i.e. overnight via the windows task scheduler or on startup.


thoughts, feedback, questions?

Tim
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Just curious: why do you use the old Alt-F10 tree an not the separate tree by "cm_ToggleSeparateTree1" and similar?
#5767 Personal license
TimD12
Junior Member
Junior Member
Posts: 4
Joined: 2015-09-11, 10:07 UTC
Location: Melbourne, Australia

Post by *TimD12 »

I'm an old dog, and so used to the quick alt-f10 key stroke and type method! :)
but also, I have a lot of long filenames, so screen space is valuable and I've tried but cant get used to the vertical screen style, resort to it occasionally when need to (great to have it as an option).
Tim
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You can use one separate tree and make one panel zero width, it will look like with Alt+F10. E.g. button/command to show separate tree: cm_100Percent, cm_SeparateTree1. And button/command to hide tree and restore separator position: cm_50Percent, cm_SeparateTreeOff.

Separate tree is available via hotkey Ctrl+Shift+F8 of via Show menu BTW.
Post Reply