Branch view to display all folders ( not files )

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
aviasd
Junior Member
Junior Member
Posts: 84
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Branch view to display all folders ( not files )

Post by *aviasd »

Hi
Does anyone know of a plugin/way to display all folders under the current folder in branch view?

Ctrl+B shows only files but i'd really like an option to display all folders and then just do a quicksearch to find my subfolder instead of going 4 levels down the manual way

( Currently i'm using "Everything" to locate the file/folder and then double click pushes the result to Totalcmd)

thanks
avi
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You can't.
You only can save search template in Alt+F7 dialog (set attribute 'directory' and desired search depth and then save template) and then load it just by buttonbar button or hotkey with command LOADSEARCH myTemplate and then feed results to listbox.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Try to search for directories only, show find dialog, select advanced tab and check "Attributes> Directories" then feed the result to list box.
User avatar
aviasd
Junior Member
Junior Member
Posts: 84
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Post by *aviasd »

Good idea ! dunno why it did not cross my mind...
Thx

Edit: Still i'd have to use the feed to listbox though...
Would be nice to have this built-in but a good workaround never the less..
User avatar
romulous
Senior Member
Senior Member
Posts: 226
Joined: 2003-11-19, 04:10 UTC

Post by *romulous »

Branch View Extended - you can find it on totalcmd.net - can do this. I use it for this exact reason, the lack of folders showing in TC's native branch view.

When you install the plugin, the folders are given the extension '/' (so you can sort by the ext column to put them at the top, though this is not necessary to be able to filter on them).

You normally open the plugin via Network Neighbourhood, but you can create a toolbar button for it as such:

Code: Select all

TOTALCMD#BAR#DATA
cd
\\\BranchViewEx\%p
C:\totalcmd\WCMICONS.DLL,51
Branch View Extended

0
-1
User avatar
aviasd
Junior Member
Junior Member
Posts: 84
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Post by *aviasd »

I tried it. it's kinda buggy though..
typing a directory partial name then ./ to filter to directories does not work, and pressing enter on a dir opens the "Open with" dialog of windows.. I guess i could associate it with totalcmd but it seems kinda clanky..

Thx for the tip though !
I think i'll stick with MVV's suggestion and use some AHK script to feed the result to the listbox...
User avatar
romulous
Senior Member
Senior Member
Posts: 226
Joined: 2003-11-19, 04:10 UTC

Post by *romulous »

aviasd wrote:typing a directory partial name then ./ to filter to directories does not work,
Hm, works fine here. Not sure why it doesn't on your system. Using *./ should also work as well.

and pressing enter on a dir opens the "Open with" dialog of windows.. I guess i could associate it with totalcmd but it seems kinda clanky..
Or do what I do, Ctrl+left/right arrow (to open it in the opposite pane).
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Or do what I do, Ctrl+left/right arrow (to open it in the opposite pane).
It seems that it doesn't work with links to items in subfolders (with '/' in names)...
Works ok:

Code: Select all

AutoRun.inf
Background.bmp
datapane.bmp
Doesn't work:

Code: Select all

Docs/CHMs./
HotFix/KB960037/W2K3/DEU/ia64./
WinPE_LangPacks/x86/zh-tw./
fdsazcw123
Junior Member
Junior Member
Posts: 48
Joined: 2018-11-23, 09:16 UTC

Re:

Post by *fdsazcw123 »

aviasd wrote: 2013-07-04, 19:34 UTC I tried it. it's kinda buggy though..
typing a directory partial name then ./ to filter to directories does not work, and pressing enter on a dir opens the "Open with" dialog of windows.. I guess i could associate it with totalcmd but it seems kinda clanky..

Thx for the tip though !
I think i'll stick with MVV's suggestion and use some AHK script to feed the result to the listbox...
hi, have you figured out the ahk script to get the list box?
thanks
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6494
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Branch view to display all folders ( not files )

Post by *Horst.Epp »

aviasd wrote: 2013-07-02, 18:32 UTC Hi
Does anyone know of a plugin/way to display all folders under the current folder in branch view?

Ctrl+B shows only files but i'd really like an option to display all folders and then just do a quicksearch to find my subfolder instead of going 4 levels down the manual way

( Currently i'm using "Everything" to locate the file/folder and then double click pushes the result to Totalcmd)

thanks
avi
Use the Everything integration in TC and enter the following search command in TC with Everything checkbox enabled:

Code: Select all

ed:folder:optional_name
This will show only dirs in the whole tree starting on the current TC path.
You can also add some details after the folder: to only show matching results
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
fdsazcw123
Junior Member
Junior Member
Posts: 48
Joined: 2018-11-23, 09:16 UTC

Re: Branch view to display all folders ( not files )

Post by *fdsazcw123 »

Horst.Epp wrote: 2018-11-27, 13:30 UTC
aviasd wrote: 2013-07-02, 18:32 UTC Hi
Does anyone know of a plugin/way to display all folders under the current folder in branch view?

Ctrl+B shows only files but i'd really like an option to display all folders and then just do a quicksearch to find my subfolder instead of going 4 levels down the manual way

( Currently i'm using "Everything" to locate the file/folder and then double click pushes the result to Totalcmd)

thanks
avi
Use the Everything integration in TC and enter the following search command in TC with Everything checkbox enabled:

Code: Select all

ed:folder:optional_name
This will show only dirs in the whole tree starting on the current TC path.
You can also add some details after the folder: to only show matching results
hi, i am new to tc,

could you please give a more detailed instructions on this?

thanks.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6494
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Branch view to display all folders ( not files )

Post by *Horst.Epp »

[quote=
....

hi, i am new to tc,

could you please give a more detailed instructions on this?

thanks.
[/quote]
Install Everything service and let Everything running in the background as usual.
Enable the Everything checkbox in TCs search dialog
and put the string I gave you in the "Search for:" field.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Re: Re:

Post by *ts4242 »

fdsazcw123 wrote: 2018-11-27, 12:24 UTChi, have you figured out the ahk script to get the list box?
thanks
Read this topic viewtopic.php?&t=50925 it is not AHK script but at least gives you a hint how to get TC's control handle using SendMessage
History.txt wrote:08.06.16 Added: Send WM_USER+50 with wparam=1..29 -> returns window handle of control. Controls are:
1=leftlist, 2=rightlist, 3=active list, 4=inactive list, 5=leftheader, 6=rightheader, 7=leftsize, 8=rightsize, 9=leftpath, 10=rightpath, 11=leftinfo, 12=rightinfo, 13=leftdrives, 14=rightdrives, 15=leftpanel, 16=rightpanel, 17=bottompanel, 18=lefttree, 19=righttree, 20=cmdline, 21=curdirpanel, 22=inplaceedit, 23=splitpanel, 24=leftdrivepanel, 25=rightdrivepanel, 26=lefttabs, 27=righttabs, 28=buttonbar, 29=buttonbarvertical (32/64)
fdsazcw123
Junior Member
Junior Member
Posts: 48
Joined: 2018-11-23, 09:16 UTC

Re: Re:

Post by *fdsazcw123 »

ts4242 wrote: 2018-11-28, 02:18 UTC
fdsazcw123 wrote: 2018-11-27, 12:24 UTChi, have you figured out the ahk script to get the list box?
thanks
Read this topic viewtopic.php?&t=50925 it is not AHK script but at least gives you a hint how to get TC's control handle using SendMessage
History.txt wrote:08.06.16 Added: Send WM_USER+50 with wparam=1..29 -> returns window handle of control. Controls are:
1=leftlist, 2=rightlist, 3=active list, 4=inactive list, 5=leftheader, 6=rightheader, 7=leftsize, 8=rightsize, 9=leftpath, 10=rightpath, 11=leftinfo, 12=rightinfo, 13=leftdrives, 14=rightdrives, 15=leftpanel, 16=rightpanel, 17=bottompanel, 18=lefttree, 19=righttree, 20=cmdline, 21=curdirpanel, 22=inplaceedit, 23=splitpanel, 24=leftdrivepanel, 25=rightdrivepanel, 26=lefttabs, 27=righttabs, 28=buttonbar, 29=buttonbarvertical (32/64)
thanks
User avatar
vdijken
Member
Member
Posts: 181
Joined: 2016-07-30, 14:07 UTC
Location: The Netherlands

Re: Branch view to display all folders ( not files )

Post by *vdijken »

I use ALT+F10 do see the directory tree starting with the actual directory.
Post Reply