How to show all subfolders only in current directory?

English support forum

Moderators: white, Hacker, petermad, Stefan2

drbeat
Junior Member
Junior Member
Posts: 57
Joined: 2017-01-01, 01:13 UTC

Re: How to show all subfolders only in current directory?

Post by *drbeat »

tuska wrote: 2020-08-06, 14:15 UTC
drbeat wrote: 2020-08-06, 13:48 UTC With your latest search code besides subfolders, main folders also listed. Could you fix it?
If you have inserted this code in the wincmd.ini as specified above in the [Searches] section then this should not be the case.

Code: Select all

Subfolders_only_SearchFor=ed:folder: !depth:0
Subfolders_only_SearchIn=
Subfolders_only_SearchText=
Subfolders_only_SearchFlags=0|007002010021|||||||||0000|||

Code: Select all

ed:folder: !depth:0 
means the following:

Code: Select all

ed:		Search in TC using 'Everything' parameters, starting from the current directory
folder:		Search for folders only
!		NOT
depth:0		depth:<count> ... Search for files and folders with the specified folder depth.
Please check your entries again.

(A second section [Searches] will hopefully not be in the wincmd.ini by mistake?)
Now it's okay. Thank you very much again for spending time & effort here. Such code really helpful for faster operating subfolders.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: How to show all subfolders only in current directory?

Post by *tuska »

2drbeat
Maybe one last note:

If you have carried out "Feed to Listbox" after the search query and only individual folders are visible,
then you can switch the view *in case of doubt* as follows:
  1. Button with command: cm_srclong
    OR
  2. CTRL+F2 File display 'full' (all file details)
    ---
  3. Button with command: cm_srcshort
    OR
  4. CTRL+F1 File display 'brief' (only file names)
Post Reply