Printing a filelist with subdirs problem
Moderators: Hacker, petermad, Stefan2, white
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
Printing a filelist with subdirs problem
I need to print a filelist with TC's related function but I'm facing some problems. Now, I have eight folders which are software categories and inside each folder are the actual applications each in its own folder. So, category plus application folder is two dir levels.
I need to produce a list that will hold just folder names (the print filelist function has an option for that) and output the category folders with the contents in a similar to the following form for example:
[face=tahoma]
--------------------------------------------------------
D:\Software\C U S T O M I S I N G\
Application01\
Application02\
Application03\
D:\Software\D R I V E R S\
Application01\
Application02\
Application03\
D:\Software\M U L T I M E D I A\
Application01\
Application02\
Application03\
D:\Software\N E T W O R K I N G\
Application01\
Application02\
Application03\
D:\Software\P R O D U C T I V I T Y\
Application01\
Application02\
Application03\
D:\Software\U T I L I T I E S\
Application01\
Application02\
Application03\
D:\Software\V A R I O U S\
Application01\
Application02\
Application03\
D:\Software\V I E W E R S AND E D I T O R S\
Application01\
Application02\
Application03\
--------------------------------------------------------[/face]
Now, I select the desirable category folders above, select the print filelist with subdirs feature and specify unlimited folder levels -1 (just to be on the safe side) and select only folders to be displayed. TC produces absolutely nothing! If I select just to print a filelist (without subfirs) TC produces the list but holds only the selected folders which correspond to the categories (as expected).
So, is there a way to produce a list without filenames and just foldernames in a form like the one shown above displaying two levels, the initial one plus one level down?
I need to produce a list that will hold just folder names (the print filelist function has an option for that) and output the category folders with the contents in a similar to the following form for example:
[face=tahoma]
--------------------------------------------------------
D:\Software\C U S T O M I S I N G\
Application01\
Application02\
Application03\
D:\Software\D R I V E R S\
Application01\
Application02\
Application03\
D:\Software\M U L T I M E D I A\
Application01\
Application02\
Application03\
D:\Software\N E T W O R K I N G\
Application01\
Application02\
Application03\
D:\Software\P R O D U C T I V I T Y\
Application01\
Application02\
Application03\
D:\Software\U T I L I T I E S\
Application01\
Application02\
Application03\
D:\Software\V A R I O U S\
Application01\
Application02\
Application03\
D:\Software\V I E W E R S AND E D I T O R S\
Application01\
Application02\
Application03\
--------------------------------------------------------[/face]
Now, I select the desirable category folders above, select the print filelist with subdirs feature and specify unlimited folder levels -1 (just to be on the safe side) and select only folders to be displayed. TC produces absolutely nothing! If I select just to print a filelist (without subfirs) TC produces the list but holds only the selected folders which correspond to the categories (as expected).
So, is there a way to produce a list without filenames and just foldernames in a form like the one shown above displaying two levels, the initial one plus one level down?
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
This one (Directory Lister) might do it:
http://freeware.prv.pl/
http://freeware.prv.pl/
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
Nice little tool but unfortunately you cannot define the dir depth automatically. I have to go manually and deselect those dirs I don't need and go deeper than the desirable level. I also could not find a way to get rid of the full path repetition for the second level down. It is though a step closer to what I need probably and with a further editing of the outputted file I should be able to achieve what I need. Thanks!Leif wrote:This one (Directory Lister) might do it:
http://freeware.prv.pl/
I can see from the site you have also contributed for the Swedish translation!

PS: It's been some time since I last used a TC plug-in for dir listing. I'm wondering if there is any progress there!

"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
What about creating the treelist with 'dircopy'-Packer plugin and the Printing those dirs with cm_printdirsub ?
You have only change the site-header, I think.
sheepdog
You have only change the site-header, I think.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
I thought of that also but I get this: http://img7.exs.cx/img7/7603/pds.pngSheepdog wrote:What about creating the treelist with 'dircopy'-Packer plugin and the Printing those dirs with cm_printdirsub ?
...which is way out of what I need. You see, this feature and most similar tools and plug-ins are usually file-oriented on the output they produce. So far, Leif's suggestion is the closest to what I need. I just would have loved to do it via TC!

"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
- franck8244
- Power Member
- Posts: 704
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
If you are going to edit the outputted file, you can use TC to create a list of the folders names. Select the desired folders and use search to search for directories. Press Ctrl+C. Paste in editor. Do some editing.pdavit wrote:Nice little tool but unfortunately you cannot define the dir depth automatically. I have to go manually and deselect those dirs I don't need and go deeper than the desirable level. I also could not find a way to get rid of the full path repetition for the second level down. It is though a step closer to what I need probably and with a further editing of the outputted file I should be able to achieve what I need. Thanks!Leif wrote:This one (Directory Lister) might do it:
http://freeware.prv.pl/
Also not quite what you want:
Enable tree view (Ctrl+F8 )
Expand tree
Print (menu File/Print/File list..)
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
Wow! New toys of pleasure! How did I miss that!white wrote:Enable tree view (Ctrl+F8 )
Expand tree
Print (menu File/Print/File list..)


It never crossed my mind that the viewing mode is passed correspondently to the Print File List feature! Your suggestion produces exactly what I need with just a small problem: the list contains the tree of the whole drive and not just my selected portion. It's an exact replica of the panel and not selection-related as on the other two viewing modes available!

2 Christian
Is it possible Christian to make Print File List selection-related also when it is sourced from the tree viewing mode?
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
Maybe it helps to use the 'subst' comand?
subst k: c:\%windir% woul let you access the whole windir under the drive letter K: so if you use treeview of K: you will get the tree of only your C:\%windir% . (Of course has K. to be an aviailable drive letter
)
sheepdog
subst k: c:\%windir% woul let you access the whole windir under the drive letter K: so if you use treeview of K: you will get the tree of only your C:\%windir% . (Of course has K. to be an aviailable drive letter

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
You probably already know this, but:pdavit wrote: the list contains the tree of the whole drive and not just my selected portion.
You can easily copy the tree structure of the selected portion (without files) to a different location and print that.
Easy copying tree structures:
- At one time define a file type "dirs" for directories only. This needs to be done one time only.
- Select the the desired folders and copy with file type ">dirs"
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
2 Sheepdog
Thanks, that should probably work (didn't test it though) but the more we look for solutions the harder the whole task is becoming!
Your suggestion also reminded me to use TempDrive and TempPanel plug-ins and use TreeCopy or DirCopy to recreate the dir structure. Unfortunately some of the above plug-ins do not cooperate friendly. In addition, and more importantly, when TC triggers activation of the tree view within a "temp-plugin" it jumps out of it and back to my hard disc!
2 white
> You can easily copy the tree structure of the selected portion (without files) to a different location and print that.
That wouldn't work actually in the tree view mode since everything in a specific drive is also displayed. That can only work is that "different location" holds no files and folders at all! (i.e. easily achieved with a temp drive/panel but with the above problem)
> Easy copying tree structures:
At one time define a file type "dirs" for directories only. This needs to be done one time only.
Select the the desired folders and copy with file type ">dirs"
Funny thing! I use TreeCopy or DirCopy to do that and up until now one of my biggest wishes was to see the functionality of the aforementioned plug-ins built internally in TC. Your suggestion made that a reality and it actually makes the need for TreeCopy and DirCopy obsolete!!!
The only thing missing is to be able to define the dir depth level of the copying. (I have actually recently placed that wish on the DirCopy author)
Thanks, that should probably work (didn't test it though) but the more we look for solutions the harder the whole task is becoming!

Your suggestion also reminded me to use TempDrive and TempPanel plug-ins and use TreeCopy or DirCopy to recreate the dir structure. Unfortunately some of the above plug-ins do not cooperate friendly. In addition, and more importantly, when TC triggers activation of the tree view within a "temp-plugin" it jumps out of it and back to my hard disc!

2 white
> You can easily copy the tree structure of the selected portion (without files) to a different location and print that.
That wouldn't work actually in the tree view mode since everything in a specific drive is also displayed. That can only work is that "different location" holds no files and folders at all! (i.e. easily achieved with a temp drive/panel but with the above problem)
> Easy copying tree structures:
At one time define a file type "dirs" for directories only. This needs to be done one time only.
Select the the desired folders and copy with file type ">dirs"
Funny thing! I use TreeCopy or DirCopy to do that and up until now one of my biggest wishes was to see the functionality of the aforementioned plug-ins built internally in TC. Your suggestion made that a reality and it actually makes the need for TreeCopy and DirCopy obsolete!!!

The only thing missing is to be able to define the dir depth level of the copying. (I have actually recently placed that wish on the DirCopy author)
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
You are right. That's what I meant. I was being short. (for me this is not a problem. I have numerous partitions and substituted drives in use)pdavit wrote:2 white
> You can easily copy the tree structure of the selected portion (without files) to a different location and print that.
That wouldn't work actually in the tree view mode since everything in a specific drive is also displayed. That can only work is that "different location" holds no files and folders at all! (i.e. easily achieved with a temp drive/panel but with the above problem)
pdavit wrote: > Easy copying tree structures:
At one time define a file type "dirs" for directories only. This needs to be done one time only.
Select the the desired folders and copy with file type ">dirs"
Funny thing! I use TreeCopy or DirCopy to do that and up until now one of my biggest wishes was to see the functionality of the aforementioned plug-ins built internally in TC. Your suggestion made that a reality and it actually makes the need for TreeCopy and DirCopy obsolete!!!![]()
