Printing a filelist with subdirs problem

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
pdavit
Power Member
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

Post by *pdavit »

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?
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
User avatar
Leif
Senior Member
Senior Member
Posts: 328
Joined: 2003-02-05, 15:44 UTC
Location: Umeå, Sweden

Post by *Leif »

This one (Directory Lister) might do it:
http://freeware.prv.pl/
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

Leif wrote:This one (Directory Lister) might do it:
http://freeware.prv.pl/
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!

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! :roll:
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

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
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

Sheepdog wrote:What about creating the treelist with 'dircopy'-Packer plugin and the Printing those dirs with cm_printdirsub ?
I thought of that also but I get this: http://img7.exs.cx/img7/7603/pds.png

...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!!!
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

You can try CatalogMaker.wcx...
TC#88260 -
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

franck8244 wrote:You can try CatalogMaker.wcx...
Yes, this used to be my default plug-in for those purposes simply because it's one of the most configurable.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
User avatar
white
Power Member
Power Member
Posts: 5809
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

pdavit wrote:
Leif wrote:This one (Directory Lister) might do it:
http://freeware.prv.pl/
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!
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.

Also not quite what you want:
Enable tree view (Ctrl+F8 )
Expand tree
Print (menu File/Print/File list..)
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

white wrote:Enable tree view (Ctrl+F8 )
Expand tree
Print (menu File/Print/File list..)
Wow! New toys of pleasure! How did I miss that! ;) :P

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!!!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

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
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
white
Power Member
Power Member
Posts: 5809
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

pdavit wrote: the list contains the tree of the whole drive and not just my selected portion.
You probably already know this, but:
You can easily copy the tree structure of the selected portion (without files) to a different location and print that.

Easy copying tree structures:
  1. At one time define a file type "dirs" for directories only. This needs to be done one time only.
  2. Select the the desired folders and copy with file type ">dirs"
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

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! :P

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!!! 8)

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!!!
User avatar
white
Power Member
Power Member
Posts: 5809
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

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)
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: > 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!!! 8)
:P
Post Reply